Index: src/x64/code-stubs-x64.cc |
diff --git a/src/x64/code-stubs-x64.cc b/src/x64/code-stubs-x64.cc |
index 51e1a5395cf7bb9b3fa9953a7264cbcaee3c0968..e5327490dc616c7d0ccef2200ee3015f4b2eb9c5 100644 |
--- a/src/x64/code-stubs-x64.cc |
+++ b/src/x64/code-stubs-x64.cc |
@@ -3619,6 +3619,7 @@ void CEntryStub::GenerateCore(MacroAssembler* masm, |
// PerformGC. No need to use PrepareCallCFunction/CallCFunction here as the |
// stack is known to be aligned. This function takes one argument which is |
// passed in register. |
+ __ movq(arg_reg_2, ExternalReference::isolate_address(masm->isolate())); |
__ movq(arg_reg_1, rax); |
__ movq(kScratchRegister, |
ExternalReference::perform_gc_function(masm->isolate())); |