Index: src/x64/assembler-x64.cc |
diff --git a/src/x64/assembler-x64.cc b/src/x64/assembler-x64.cc |
index 19bd82856e4da18fe547069179b6c7b8db94ff66..591ae3c88992d83cd4c1b4a2619ec7945863fe21 100644 |
--- a/src/x64/assembler-x64.cc |
+++ b/src/x64/assembler-x64.cc |
@@ -2992,16 +2992,17 @@ void Assembler::RecordComment(const char* msg, bool force) { |
} |
-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; |
} |