Reviewers: Paul Lind, kisg, kilvadyb, danno, Hannes Payer,

Message:
PTAL.

Description:
MIPS: Fix Cluster Fuzz stack frame corruption bug.

Port r16358 (a8a679b9)

BUG=


Please review this at https://codereview.chromium.org/23583004/

SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge

Affected files:
  M src/mips/code-stubs-mips.cc


Index: src/mips/code-stubs-mips.cc
diff --git a/src/mips/code-stubs-mips.cc b/src/mips/code-stubs-mips.cc
index 8a03a9a31a592faa84ce21f1e77625e5481719ea..481fe7c242ee6d4a9e4003d68689bf224f181fef 100644
--- a/src/mips/code-stubs-mips.cc
+++ b/src/mips/code-stubs-mips.cc
@@ -4808,12 +4808,14 @@ static void GenerateRecordCallTarget(MacroAssembler* masm) {
         1 << 5  |  // a1
         1 << 6;    // a2

+    __ SmiTag(a0);
     __ MultiPush(kSavedRegs);

     CreateAllocationSiteStub create_stub;
     __ CallStub(&create_stub);

     __ MultiPop(kSavedRegs);
+    __ SmiUntag(a0);
   }
   __ Branch(&done);



--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to