Index: src/arm/regexp-macro-assembler-arm.cc |
diff --git a/src/arm/regexp-macro-assembler-arm.cc b/src/arm/regexp-macro-assembler-arm.cc |
index 4d415ef2f6fdbd893671c18d3fc50321103444bd..f05cba521ef61f9d894b83c3b09130a78d51a633 100644 |
--- a/src/arm/regexp-macro-assembler-arm.cc |
+++ b/src/arm/regexp-macro-assembler-arm.cc |
@@ -122,7 +122,7 @@ RegExpMacroAssemblerARM::RegExpMacroAssemblerARM( |
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), |