Commit c18a36fd authored by paul.lind@imgtec.com's avatar paul.lind@imgtec.com

MIPS64: Correct register use.

TEST: mozilla/js1_5/Regress/regress-366601.
TEST: mozilla/ecma_3/ExecutionContexts/10.1.3-1

BUG=
R=paul.lind@imgtec.com

Review URL: https://codereview.chromium.org/403993002

Patch from Yu Yin <xwafish@gmail.com>.

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22489 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent 02247b18
......@@ -569,7 +569,7 @@ void ElementsTransitionGenerator::GenerateMapChangeElementsTransition(
// Set transitioned map.
__ sd(target_map, FieldMemOperand(receiver, HeapObject::kMapOffset));
__ RecordWriteField(a2,
__ RecordWriteField(receiver,
HeapObject::kMapOffset,
target_map,
t1,
......
......@@ -445,7 +445,7 @@ void KeyedLoadIC::GenerateSloppyArguments(MacroAssembler* masm) {
__ bind(&notin);
// The unmapped lookup expects that the parameter map is in a2.
MemOperand unmapped_location =
GenerateUnmappedArgumentsLookup(masm, a0, a0, a3, &slow);
GenerateUnmappedArgumentsLookup(masm, key, a0, a3, &slow);
__ ld(a0, unmapped_location);
__ LoadRoot(a3, Heap::kTheHoleValueRootIndex);
__ Branch(&slow, eq, a0, Operand(a3));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment