Index: src/arm64/assembler-arm64.cc |
diff --git a/src/arm64/assembler-arm64.cc b/src/arm64/assembler-arm64.cc |
index b399277543ff039911c1884e7c022d288fb401e7..4e4f21af264fbca1286bef9a7acda70fbd26db5b 100644 |
--- a/src/arm64/assembler-arm64.cc |
+++ b/src/arm64/assembler-arm64.cc |
@@ -2831,16 +2831,17 @@ void Assembler::RecordConstPool(int size) { |
} |
-MaybeObject* Assembler::AllocateConstantPool(Heap* heap) { |
+Handle<ConstantPoolArray> Assembler::NewConstantPool(Isolate* isolate) { |
// No out-of-line constant pool support. |
- UNREACHABLE(); |
- return NULL; |
+ ASSERT(!FLAG_enable_ool_constant_pool); |
+ return isolate->factory()->empty_constant_pool_array(); |
} |
void Assembler::PopulateConstantPool(ConstantPoolArray* constant_pool) { |
// No out-of-line constant pool support. |
- UNREACHABLE(); |
+ ASSERT(!FLAG_enable_ool_constant_pool); |
+ return; |
} |