Index: src/ia32/macro-assembler-ia32.cc |
diff --git a/src/ia32/macro-assembler-ia32.cc b/src/ia32/macro-assembler-ia32.cc |
index 8219d30f71cf1831fe0ac22b453ecc9590aafea6..1c01a0ea26ec507015abcd5df269d45fd027dfb8 100644 |
--- a/src/ia32/macro-assembler-ia32.cc |
+++ b/src/ia32/macro-assembler-ia32.cc |
@@ -1969,11 +1969,11 @@ void MacroAssembler::PrepareCallApiFunction(int argc) { |
void MacroAssembler::CallApiFunctionAndReturn(Address function_address, |
int stack_space) { |
ExternalReference next_address = |
- ExternalReference::handle_scope_next_address(); |
+ ExternalReference::handle_scope_next_address(isolate()); |
ExternalReference limit_address = |
- ExternalReference::handle_scope_limit_address(); |
+ ExternalReference::handle_scope_limit_address(isolate()); |
ExternalReference level_address = |
- ExternalReference::handle_scope_level_address(); |
+ ExternalReference::handle_scope_level_address(isolate()); |
// Allocate HandleScope in callee-save registers. |
mov(ebx, Operand::StaticVariable(next_address)); |