Index: src/x64/builtins-x64.cc |
diff --git a/src/x64/builtins-x64.cc b/src/x64/builtins-x64.cc |
index 81721c25e1abe42acf53b7ad1ec7e3249ffaf93c..20895f907cc2864d6b33b1a925a93036aee3ff62 100644 |
--- a/src/x64/builtins-x64.cc |
+++ b/src/x64/builtins-x64.cc |
@@ -600,6 +600,8 @@ static void GenerateMakeCodeYoungAgainCommon(MacroAssembler* masm) { |
// the stub returns. |
__ subq(Operand(rsp, 0), Immediate(5)); |
__ Pushad(); |
+ __ movq(arg_reg_2, |
+ ExternalReference::isolate_address(masm->isolate())); |
__ movq(arg_reg_1, Operand(rsp, kNumSafepointRegisters * kPointerSize)); |
{ // NOLINT |
FrameScope scope(masm, StackFrame::MANUAL); |