Index: src/mips/assembler-mips.cc |
diff --git a/src/mips/assembler-mips.cc b/src/mips/assembler-mips.cc |
index b659559fee09126803fe17512ff77845eb74b3f9..0a40baa08ce4d086e244a48e44d5be7fa44ea1fb 100644 |
--- a/src/mips/assembler-mips.cc |
+++ b/src/mips/assembler-mips.cc |
@@ -2328,16 +2328,17 @@ void Assembler::JumpLabelToJumpRegister(Address pc) { |
} |
-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; |
} |