Index: src/ia32/deoptimizer-ia32.cc |
diff --git a/src/ia32/deoptimizer-ia32.cc b/src/ia32/deoptimizer-ia32.cc |
index f0436225c51b033150300df9a432717ed7b01ac5..f8aff48d13070d89b1656f7db0231627d59551a0 100644 |
--- a/src/ia32/deoptimizer-ia32.cc |
+++ b/src/ia32/deoptimizer-ia32.cc |
@@ -716,8 +716,6 @@ void Deoptimizer::CopyDoubleRegisters(FrameDescription* output_frame) { |
void Deoptimizer::EntryGenerator::Generate() { |
GeneratePrologue(); |
- Isolate* isolate = masm()->isolate(); |
- |
// Save all general purpose registers before messing with them. |
const int kNumberOfRegisters = Register::kNumRegisters; |
@@ -762,10 +760,10 @@ void Deoptimizer::EntryGenerator::Generate() { |
__ mov(Operand(esp, 3 * kPointerSize), ecx); // Code address or 0. |
__ mov(Operand(esp, 4 * kPointerSize), edx); // Fp-to-sp delta. |
__ mov(Operand(esp, 5 * kPointerSize), |
- Immediate(ExternalReference::isolate_address())); |
+ Immediate(ExternalReference::isolate_address(isolate()))); |
{ |
AllowExternalCallThatCantCauseGC scope(masm()); |
- __ CallCFunction(ExternalReference::new_deoptimizer_function(isolate), 6); |
+ __ CallCFunction(ExternalReference::new_deoptimizer_function(isolate()), 6); |
} |
// Preserve deoptimizer object in register eax and get the input |
@@ -828,7 +826,7 @@ void Deoptimizer::EntryGenerator::Generate() { |
{ |
AllowExternalCallThatCantCauseGC scope(masm()); |
__ CallCFunction( |
- ExternalReference::compute_output_frames_function(isolate), 1); |
+ ExternalReference::compute_output_frames_function(isolate()), 1); |
} |
__ pop(eax); |