Index: src/mips/assembler-mips.cc |
diff --git a/src/mips/assembler-mips.cc b/src/mips/assembler-mips.cc |
index 3f855d03e9b944f85b24a6cbd24d16058cd203ce..cc45cda5f3c76ce817429329fc7c23d6fe76192a 100644 |
--- a/src/mips/assembler-mips.cc |
+++ b/src/mips/assembler-mips.cc |
@@ -2332,16 +2332,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; |
} |