Index: src/arm/lithium-arm.cc |
diff --git a/src/arm/lithium-arm.cc b/src/arm/lithium-arm.cc |
index ccd962c23fed85b23dfde531df7a2009a1e19dbf..7dbd9f05638ec35dab7a9addf261c43ce5d243ef 100644 |
--- a/src/arm/lithium-arm.cc |
+++ b/src/arm/lithium-arm.cc |
@@ -2369,6 +2369,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, r0); |
+ return AssignPointerMap(AssignEnvironment(result)); |
+} |
+ |
+ |
LInstruction* LChunkBuilder::DoStoreNamedField(HStoreNamedField* instr) { |
bool is_in_object = instr->access().IsInobject(); |
bool needs_write_barrier = instr->NeedsWriteBarrier(); |