Index: src/arm/code-stubs-arm.cc |
diff --git a/src/arm/code-stubs-arm.cc b/src/arm/code-stubs-arm.cc |
index cd1809fb2a807db572721588268c95c964e576fe..6aa1184f97997fb0588db5bc48742319c393c88e 100644 |
--- a/src/arm/code-stubs-arm.cc |
+++ b/src/arm/code-stubs-arm.cc |
@@ -2765,9 +2765,10 @@ void CEntryStub::GenerateCore(MacroAssembler* masm, |
if (do_gc) { |
// Passing r0. |
- __ PrepareCallCFunction(1, 0, r1); |
+ __ PrepareCallCFunction(2, 0, r1); |
+ __ mov(r1, Operand(ExternalReference::isolate_address(masm->isolate()))); |
__ CallCFunction(ExternalReference::perform_gc_function(isolate), |
- 1, 0); |
+ 2, 0); |
} |
ExternalReference scope_depth = |