Index: src/x64/regexp-macro-assembler-x64.cc |
diff --git a/src/x64/regexp-macro-assembler-x64.cc b/src/x64/regexp-macro-assembler-x64.cc |
index 4a4a84e8024ed258f7531ae7d6d94c697bfdd8ed..efb2a65a5f5121a78def94525399ba10844d1dce 100644 |
--- a/src/x64/regexp-macro-assembler-x64.cc |
+++ b/src/x64/regexp-macro-assembler-x64.cc |
@@ -120,7 +120,7 @@ RegExpMacroAssemblerX64::RegExpMacroAssemblerX64( |
int registers_to_save, |
Zone* zone) |
: NativeRegExpMacroAssembler(zone), |
- masm_(Isolate::Current(), NULL, kRegExpCodeSize), |
+ masm_(zone->isolate(), NULL, kRegExpCodeSize), |
no_root_array_scope_(&masm_), |
code_relative_fixup_positions_(4, zone), |
mode_(mode), |