Index: src/mips/regexp-macro-assembler-mips.cc |
diff --git a/src/mips/regexp-macro-assembler-mips.cc b/src/mips/regexp-macro-assembler-mips.cc |
index 977f05080c03fa72125ffbd3bb5e45b60b5ef479..2961519af202b2a5416df4a4be0036fa06220611 100644 |
--- a/src/mips/regexp-macro-assembler-mips.cc |
+++ b/src/mips/regexp-macro-assembler-mips.cc |
@@ -122,7 +122,7 @@ RegExpMacroAssemblerMIPS::RegExpMacroAssemblerMIPS( |
int registers_to_save, |
Zone* zone) |
: NativeRegExpMacroAssembler(zone), |
- masm_(new MacroAssembler(Isolate::Current(), NULL, kRegExpCodeSize)), |
+ masm_(new MacroAssembler(zone->isolate(), NULL, kRegExpCodeSize)), |
mode_(mode), |
num_registers_(registers_to_save), |
num_saved_registers_(registers_to_save), |