MIPS: Fix Cluster Fuzz stack frame corruption bug.
Port r16358 (a8a679b9) BUG= Review URL: https://codereview.chromium.org/23583004 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16372 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
parent
44ab0e15fa
commit
42b63dcbcb
@ -4691,12 +4691,14 @@ static void GenerateRecordCallTarget(MacroAssembler* masm) {
|
|||||||
1 << 5 | // a1
|
1 << 5 | // a1
|
||||||
1 << 6; // a2
|
1 << 6; // a2
|
||||||
|
|
||||||
|
__ SmiTag(a0);
|
||||||
__ MultiPush(kSavedRegs);
|
__ MultiPush(kSavedRegs);
|
||||||
|
|
||||||
CreateAllocationSiteStub create_stub;
|
CreateAllocationSiteStub create_stub;
|
||||||
__ CallStub(&create_stub);
|
__ CallStub(&create_stub);
|
||||||
|
|
||||||
__ MultiPop(kSavedRegs);
|
__ MultiPop(kSavedRegs);
|
||||||
|
__ SmiUntag(a0);
|
||||||
}
|
}
|
||||||
__ Branch(&done);
|
__ Branch(&done);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user