Index: src/arm/lithium-arm.cc |
diff --git a/src/arm/lithium-arm.cc b/src/arm/lithium-arm.cc |
index 0e5ac0f361130e78f8a437a1b3558339f06643ca..a934aacd36a1d7120e76481e912b871ecba1b179 100644 |
--- a/src/arm/lithium-arm.cc |
+++ b/src/arm/lithium-arm.cc |
@@ -2268,4 +2268,32 @@ LInstruction* LChunkBuilder::DoIn(HIn* instr) { |
} |
+LInstruction* LChunkBuilder::DoForInPrepareMap(HForInPrepareMap* instr) { |
+ LOperand* object = UseFixed(instr->enumerable(), r0); |
+ LForInPrepareMap* result = new LForInPrepareMap(object); |
+ return MarkAsCall(DefineFixed(result, r0), instr, CAN_DEOPTIMIZE_EAGERLY); |
+} |
+ |
+ |
+LInstruction* LChunkBuilder::DoForInCacheArray(HForInCacheArray* instr) { |
+ LOperand* map = UseRegister(instr->map()); |
+ return AssignEnvironment(DefineAsRegister( |
+ new LForInCacheArray(map))); |
+} |
+ |
+ |
+LInstruction* LChunkBuilder::DoCheckMapValue(HCheckMapValue* instr) { |
+ LOperand* value = UseRegisterAtStart(instr->value()); |
+ LOperand* map = UseRegisterAtStart(instr->map()); |
+ return AssignEnvironment(new LCheckMapValue(value, map)); |
+} |
+ |
+ |
+LInstruction* LChunkBuilder::DoLoadFieldByIndex(HLoadFieldByIndex* instr) { |
+ LOperand* object = UseRegister(instr->object()); |
+ LOperand* index = UseRegister(instr->index()); |
+ return DefineAsRegister(new LLoadFieldByIndex(object, index)); |
+} |
+ |
+ |
} } // namespace v8::internal |