Index: src/mips/lithium-mips.cc |
diff --git a/src/mips/lithium-mips.cc b/src/mips/lithium-mips.cc |
index 0d7884582e025d08ff940d89c6b20e703c7709fa..dfc67a191c18e37d18cf712626b4007fa58e0ccf 100644 |
--- a/src/mips/lithium-mips.cc |
+++ b/src/mips/lithium-mips.cc |
@@ -2279,4 +2279,32 @@ LInstruction* LChunkBuilder::DoIn(HIn* instr) { |
} |
+LInstruction* LChunkBuilder::DoForInPrepareMap(HForInPrepareMap* instr) { |
+ LOperand* object = UseFixed(instr->enumerable(), a0); |
+ LForInPrepareMap* result = new LForInPrepareMap(object); |
+ return MarkAsCall(DefineFixed(result, v0), 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 |