Index: src/regexp/arm64/regexp-macro-assembler-arm64.cc |
diff --git a/src/regexp/arm64/regexp-macro-assembler-arm64.cc b/src/regexp/arm64/regexp-macro-assembler-arm64.cc |
index f740470ae3e35a90a2293ab28f4ac6c3ace5baef..e8887b2694425e6f4d819573c55ce34e3c8007f7 100644 |
--- a/src/regexp/arm64/regexp-macro-assembler-arm64.cc |
+++ b/src/regexp/arm64/regexp-macro-assembler-arm64.cc |
@@ -1078,7 +1078,7 @@ Handle<HeapObject> RegExpMacroAssemblerARM64::GetCode(Handle<String> source) { |
} |
CodeDesc code_desc; |
- masm_->GetCode(&code_desc); |
+ masm_->GetCode(isolate(), &code_desc); |
Handle<Code> code = isolate()->factory()->NewCode( |
code_desc, Code::ComputeFlags(Code::REGEXP), masm_->CodeObject()); |
PROFILE(masm_->isolate(), |