Index: src/ia32/assembler-ia32.cc |
diff --git a/src/ia32/assembler-ia32.cc b/src/ia32/assembler-ia32.cc |
index 3a4f590c8f990e105d9288f7b20f34eaaffe55ff..2618a226128d3565706c55e44f3927f92e41cc6a 100644 |
--- a/src/ia32/assembler-ia32.cc |
+++ b/src/ia32/assembler-ia32.cc |
@@ -2717,16 +2717,17 @@ void Assembler::RecordRelocInfo(RelocInfo::Mode rmode, intptr_t data) { |
} |
-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; |
} |