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

Side by Side Diff: src/mips64/ic-mips64.cc

Issue 403993002: MIPS64: Correct register use. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 5 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/mips64/codegen-mips64.cc ('k') | no next file » | 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 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 5
6 6
7 #include "src/v8.h" 7 #include "src/v8.h"
8 8
9 #if V8_TARGET_ARCH_MIPS64 9 #if V8_TARGET_ARCH_MIPS64
10 10
(...skipping 427 matching lines...) Expand 10 before | Expand all | Expand 10 after
438 438
439 Label slow, notin; 439 Label slow, notin;
440 MemOperand mapped_location = 440 MemOperand mapped_location =
441 GenerateMappedArgumentsLookup( 441 GenerateMappedArgumentsLookup(
442 masm, receiver, key, a0, a3, a4, &notin, &slow); 442 masm, receiver, key, a0, a3, a4, &notin, &slow);
443 __ Ret(USE_DELAY_SLOT); 443 __ Ret(USE_DELAY_SLOT);
444 __ ld(v0, mapped_location); 444 __ ld(v0, mapped_location);
445 __ bind(&notin); 445 __ bind(&notin);
446 // The unmapped lookup expects that the parameter map is in a2. 446 // The unmapped lookup expects that the parameter map is in a2.
447 MemOperand unmapped_location = 447 MemOperand unmapped_location =
448 GenerateUnmappedArgumentsLookup(masm, a0, a0, a3, &slow); 448 GenerateUnmappedArgumentsLookup(masm, key, a0, a3, &slow);
449 __ ld(a0, unmapped_location); 449 __ ld(a0, unmapped_location);
450 __ LoadRoot(a3, Heap::kTheHoleValueRootIndex); 450 __ LoadRoot(a3, Heap::kTheHoleValueRootIndex);
451 __ Branch(&slow, eq, a0, Operand(a3)); 451 __ Branch(&slow, eq, a0, Operand(a3));
452 __ Ret(USE_DELAY_SLOT); 452 __ Ret(USE_DELAY_SLOT);
453 __ mov(v0, a0); 453 __ mov(v0, a0);
454 __ bind(&slow); 454 __ bind(&slow);
455 GenerateMiss(masm); 455 GenerateMiss(masm);
456 } 456 }
457 457
458 458
(...skipping 801 matching lines...) Expand 10 before | Expand all | Expand 10 after
1260 } else { 1260 } else {
1261 ASSERT(Assembler::IsBne(branch_instr)); 1261 ASSERT(Assembler::IsBne(branch_instr));
1262 patcher.ChangeBranchCondition(eq); 1262 patcher.ChangeBranchCondition(eq);
1263 } 1263 }
1264 } 1264 }
1265 1265
1266 1266
1267 } } // namespace v8::internal 1267 } } // namespace v8::internal
1268 1268
1269 #endif // V8_TARGET_ARCH_MIPS64 1269 #endif // V8_TARGET_ARCH_MIPS64
OLDNEW
« no previous file with comments | « src/mips64/codegen-mips64.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698