Index: src/mips/lithium-mips.cc |
diff --git a/src/mips/lithium-mips.cc b/src/mips/lithium-mips.cc |
index 06b8d51f5b788ba593bfcba30300450182c32689..cbd59aa5f2a31054adb9872e56ae1520eaf17356 100644 |
--- a/src/mips/lithium-mips.cc |
+++ b/src/mips/lithium-mips.cc |
@@ -2316,6 +2316,21 @@ LInstruction* LChunkBuilder::DoTrapAllocationMemento( |
} |
+LInstruction* LChunkBuilder::DoMaybeGrowElements(HMaybeGrowElements* instr) { |
+ info()->MarkAsDeferredCalling(); |
+ LOperand* context = UseFixed(instr->context(), cp); |
+ LOperand* object = Use(instr->object()); |
+ LOperand* elements = Use(instr->elements()); |
+ LOperand* key = UseRegisterOrConstant(instr->key()); |
+ LOperand* current_capacity = UseRegisterOrConstant(instr->current_capacity()); |
+ |
+ LMaybeGrowElements* result = new (zone()) |
+ LMaybeGrowElements(context, object, elements, key, current_capacity); |
+ DefineFixed(result, v0); |
+ return AssignPointerMap(AssignEnvironment(result)); |
+} |
+ |
+ |
LInstruction* LChunkBuilder::DoStoreNamedField(HStoreNamedField* instr) { |
bool is_in_object = instr->access().IsInobject(); |
bool needs_write_barrier = instr->NeedsWriteBarrier(); |