Index: src/mips/macro-assembler-mips.cc |
diff --git a/src/mips/macro-assembler-mips.cc b/src/mips/macro-assembler-mips.cc |
index 067634e954cf816d5205d4edb3bb115659eb90e4..c1ea467ad45604a8d3e97f905d639914ecbb291d 100644 |
--- a/src/mips/macro-assembler-mips.cc |
+++ b/src/mips/macro-assembler-mips.cc |
@@ -3960,13 +3960,13 @@ static int AddressOffset(ExternalReference ref0, ExternalReference ref1) { |
void MacroAssembler::CallApiFunctionAndReturn(ExternalReference function, |
int stack_space) { |
ExternalReference next_address = |
- ExternalReference::handle_scope_next_address(); |
+ ExternalReference::handle_scope_next_address(isolate()); |
const int kNextOffset = 0; |
const int kLimitOffset = AddressOffset( |
- ExternalReference::handle_scope_limit_address(), |
+ ExternalReference::handle_scope_limit_address(isolate()), |
next_address); |
const int kLevelOffset = AddressOffset( |
- ExternalReference::handle_scope_level_address(), |
+ ExternalReference::handle_scope_level_address(isolate()), |
next_address); |
// Allocate HandleScope in callee-save registers. |