Index: src/ia32/regexp-macro-assembler-ia32.cc |
diff --git a/src/ia32/regexp-macro-assembler-ia32.cc b/src/ia32/regexp-macro-assembler-ia32.cc |
index 397ebde64558149f56d028e827e7065c573f2b10..9a166d7d48341560e47bb609246a3eb5abc08e76 100644 |
--- a/src/ia32/regexp-macro-assembler-ia32.cc |
+++ b/src/ia32/regexp-macro-assembler-ia32.cc |
@@ -104,7 +104,7 @@ RegExpMacroAssemblerIA32::RegExpMacroAssemblerIA32( |
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), |