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 60950bd1cd86c4dc54171cf503cdb0fe32581ce5..9948597ca0e4b72ee064ab700d838afd05c960f6 100644 |
--- a/src/regexp/arm64/regexp-macro-assembler-arm64.cc |
+++ b/src/regexp/arm64/regexp-macro-assembler-arm64.cc |
@@ -113,7 +113,8 @@ RegExpMacroAssemblerARM64::RegExpMacroAssemblerARM64(Isolate* isolate, |
Zone* zone, Mode mode, |
int registers_to_save) |
: NativeRegExpMacroAssembler(isolate, zone), |
- masm_(new MacroAssembler(isolate, NULL, kRegExpCodeSize)), |
+ masm_(new MacroAssembler(isolate, NULL, kRegExpCodeSize, |
+ CodeObjectRequired::kYes)), |
mode_(mode), |
num_registers_(registers_to_save), |
num_saved_registers_(registers_to_save), |