Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(531)

Side by Side Diff: src/mips/lithium-codegen-mips.cc

Issue 16154004: Fix two CPU profiler tests on ARM and MIPS simulators (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/arm/lithium-codegen-arm.cc ('k') | src/sampler.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 2548 matching lines...) Expand 10 before | Expand all | Expand 10 after
2559 while (!save_iterator.Done()) { 2559 while (!save_iterator.Done()) {
2560 __ ldc1(DoubleRegister::FromAllocationIndex(save_iterator.Current()), 2560 __ ldc1(DoubleRegister::FromAllocationIndex(save_iterator.Current()),
2561 MemOperand(sp, count * kDoubleSize)); 2561 MemOperand(sp, count * kDoubleSize));
2562 save_iterator.Advance(); 2562 save_iterator.Advance();
2563 count++; 2563 count++;
2564 } 2564 }
2565 } 2565 }
2566 int no_frame_start = -1; 2566 int no_frame_start = -1;
2567 if (NeedsEagerFrame()) { 2567 if (NeedsEagerFrame()) {
2568 __ mov(sp, fp); 2568 __ mov(sp, fp);
2569 no_frame_start = masm_->pc_offset();
2569 __ Pop(ra, fp); 2570 __ Pop(ra, fp);
2570 no_frame_start = masm_->pc_offset();
2571 } 2571 }
2572 if (instr->has_constant_parameter_count()) { 2572 if (instr->has_constant_parameter_count()) {
2573 int parameter_count = ToInteger32(instr->constant_parameter_count()); 2573 int parameter_count = ToInteger32(instr->constant_parameter_count());
2574 int32_t sp_delta = (parameter_count + 1) * kPointerSize; 2574 int32_t sp_delta = (parameter_count + 1) * kPointerSize;
2575 if (sp_delta != 0) { 2575 if (sp_delta != 0) {
2576 __ Addu(sp, sp, Operand(sp_delta)); 2576 __ Addu(sp, sp, Operand(sp_delta));
2577 } 2577 }
2578 } else { 2578 } else {
2579 Register reg = ToRegister(instr->parameter_count()); 2579 Register reg = ToRegister(instr->parameter_count());
2580 // The argument count parameter is a smi 2580 // The argument count parameter is a smi
(...skipping 3157 matching lines...) Expand 10 before | Expand all | Expand 10 after
5738 __ Subu(scratch, result, scratch); 5738 __ Subu(scratch, result, scratch);
5739 __ lw(result, FieldMemOperand(scratch, 5739 __ lw(result, FieldMemOperand(scratch,
5740 FixedArray::kHeaderSize - kPointerSize)); 5740 FixedArray::kHeaderSize - kPointerSize));
5741 __ bind(&done); 5741 __ bind(&done);
5742 } 5742 }
5743 5743
5744 5744
5745 #undef __ 5745 #undef __
5746 5746
5747 } } // namespace v8::internal 5747 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/arm/lithium-codegen-arm.cc ('k') | src/sampler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698