Index: src/mips/lithium-mips.h |
diff --git a/src/mips/lithium-mips.h b/src/mips/lithium-mips.h |
index b07d225399cab99584f2782dc43a0ef1542c2406..86b8f3397938ac581fdd2fe2882ad1f75a292509 100644 |
--- a/src/mips/lithium-mips.h |
+++ b/src/mips/lithium-mips.h |
@@ -2143,13 +2143,15 @@ class LForInPrepareMap: public LTemplateInstruction<1, 1, 0> { |
}; |
-class LForInCacheArray: public LTemplateInstruction<1, 1, 0> { |
+class LForInCacheArray: public LTemplateInstruction<1, 1, 1> { |
public: |
- explicit LForInCacheArray(LOperand* map) { |
+ explicit LForInCacheArray(LOperand* map, LOperand* scratch) { |
inputs_[0] = map; |
+ temps_[0] = scratch; |
} |
LOperand* map() { return inputs_[0]; } |
+ LOperand* scratch() { return temps_[0]; } |
DECLARE_CONCRETE_INSTRUCTION(ForInCacheArray, "for-in-cache-array") |