| Index: src/arm/lithium-arm.h
|
| diff --git a/src/arm/lithium-arm.h b/src/arm/lithium-arm.h
|
| index 869a80a28068c3260493cf91460def4ee7ed8c45..19b2d072cc3fc521867a5dcd9021b19c25484672 100644
|
| --- a/src/arm/lithium-arm.h
|
| +++ b/src/arm/lithium-arm.h
|
| @@ -2177,13 +2177,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")
|
|
|
|
|