| Index: src/mips/lithium-codegen-mips.cc
|
| diff --git a/src/mips/lithium-codegen-mips.cc b/src/mips/lithium-codegen-mips.cc
|
| index c9256407fd43bb2158b0ff06ce4346d421585a9a..737aafcc9be733301fb5686e68d53bc3e2659fa0 100644
|
| --- a/src/mips/lithium-codegen-mips.cc
|
| +++ b/src/mips/lithium-codegen-mips.cc
|
| @@ -5165,7 +5165,8 @@ void LCodeGen::DoForInPrepareMap(LForInPrepareMap* instr) {
|
| void LCodeGen::DoForInCacheArray(LForInCacheArray* instr) {
|
| Register map = ToRegister(instr->map());
|
| Register result = ToRegister(instr->result());
|
| - __ LoadInstanceDescriptors(map, result);
|
| + Register scratch = ToRegister(instr->scratch());
|
| + __ LoadInstanceDescriptors(map, result, scratch);
|
| __ lw(result,
|
| FieldMemOperand(result, DescriptorArray::kEnumerationIndexOffset));
|
| __ lw(result,
|
|
|