Index: src/arm64/macro-assembler-arm64.cc |
diff --git a/src/arm64/macro-assembler-arm64.cc b/src/arm64/macro-assembler-arm64.cc |
index a27f625c5e2ea0e4858e4c018ab0fbbe67e91b1f..7437b88694c23d1a565850fee69ca786be620fae 100644 |
--- a/src/arm64/macro-assembler-arm64.cc |
+++ b/src/arm64/macro-assembler-arm64.cc |
@@ -22,9 +22,9 @@ namespace internal { |
#define __ |
-MacroAssembler::MacroAssembler(Isolate* arg_isolate, |
- byte * buffer, |
- unsigned buffer_size) |
+MacroAssembler::MacroAssembler(Isolate* arg_isolate, byte* buffer, |
+ unsigned buffer_size, |
+ CodeObjectRequired create_code_object) |
: Assembler(arg_isolate, buffer, buffer_size), |
generating_stub_(false), |
#if DEBUG |
@@ -35,7 +35,7 @@ MacroAssembler::MacroAssembler(Isolate* arg_isolate, |
sp_(jssp), |
tmp_list_(DefaultTmpList()), |
fptmp_list_(DefaultFPTmpList()) { |
- if (isolate() != NULL) { |
+ if (create_code_object == CodeObjectRequired::kYes) { |
code_object_ = |
Handle<Object>::New(isolate()->heap()->undefined_value(), isolate()); |
} |