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); |