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 49d9de65ab96229088b88b0c3e919631f3351283..999622aa6a8afea046f154863dafcf69617b95c3 100644 |
--- a/src/x64/regexp-macro-assembler-x64.cc |
+++ b/src/x64/regexp-macro-assembler-x64.cc |
@@ -998,7 +998,7 @@ Handle<HeapObject> RegExpMacroAssemblerX64::GetCode(Handle<String> source) { |
CodeDesc code_desc; |
masm_.GetCode(&code_desc); |
- Isolate* isolate = ISOLATE; |
+ Isolate* isolate = this->isolate(); |
Handle<Code> code = isolate->factory()->NewCode( |
code_desc, Code::ComputeFlags(Code::REGEXP), |
masm_.CodeObject()); |