Index: src/ia32/deoptimizer-ia32.cc |
=================================================================== |
--- src/ia32/deoptimizer-ia32.cc (revision 8110) |
+++ src/ia32/deoptimizer-ia32.cc (working copy) |
@@ -650,7 +650,10 @@ |
__ mov(Operand(esp, 4 * kPointerSize), edx); // Fp-to-sp delta. |
__ mov(Operand(esp, 5 * kPointerSize), |
Immediate(ExternalReference::isolate_address())); |
- __ CallCFunction(ExternalReference::new_deoptimizer_function(isolate), 6); |
+ { |
+ AllowExternalCallThatCantCauseGC scope(masm()); |
+ __ CallCFunction(ExternalReference::new_deoptimizer_function(isolate), 6); |
+ } |
// Preserve deoptimizer object in register eax and get the input |
// frame descriptor pointer. |
@@ -698,8 +701,11 @@ |
__ push(eax); |
__ PrepareCallCFunction(1, ebx); |
__ mov(Operand(esp, 0 * kPointerSize), eax); |
- __ CallCFunction( |
- ExternalReference::compute_output_frames_function(isolate), 1); |
+ { |
+ AllowExternalCallThatCantCauseGC scope(masm()); |
+ __ CallCFunction( |
+ ExternalReference::compute_output_frames_function(isolate), 1); |
+ } |
__ pop(eax); |
// Replace the current frame with the output frames. |