Index: src/regexp/x64/regexp-macro-assembler-x64.cc |
diff --git a/src/regexp/x64/regexp-macro-assembler-x64.cc b/src/regexp/x64/regexp-macro-assembler-x64.cc |
index 8c51233e29594c0506d8812170525680d4295fc7..9b0352d863fd0f12d860481bfc467326766ea955 100644 |
--- a/src/regexp/x64/regexp-macro-assembler-x64.cc |
+++ b/src/regexp/x64/regexp-macro-assembler-x64.cc |
@@ -1005,8 +1005,8 @@ Handle<HeapObject> RegExpMacroAssemblerX64::GetCode(Handle<String> source) { |
FixupCodeRelativePositions(); |
CodeDesc code_desc; |
- masm_.GetCode(&code_desc); |
Isolate* isolate = this->isolate(); |
+ masm_.GetCode(isolate, &code_desc); |
Handle<Code> code = isolate->factory()->NewCode( |
code_desc, Code::ComputeFlags(Code::REGEXP), |
masm_.CodeObject()); |