| Index: src/mips/ic-mips.cc
|
| diff --git a/src/mips/ic-mips.cc b/src/mips/ic-mips.cc
|
| index a8b3fa37369d92a08a7a9e26131699b19f36fbed..b057695f0105b9b19ea9e6a10398399c2e047b21 100644
|
| --- a/src/mips/ic-mips.cc
|
| +++ b/src/mips/ic-mips.cc
|
| @@ -1120,14 +1120,12 @@ void KeyedLoadIC::GenerateString(MacroAssembler* masm) {
|
|
|
| Register receiver = a1;
|
| Register index = a0;
|
| - Register scratch1 = a2;
|
| - Register scratch2 = a3;
|
| + Register scratch = a3;
|
| Register result = v0;
|
|
|
| StringCharAtGenerator char_at_generator(receiver,
|
| index,
|
| - scratch1,
|
| - scratch2,
|
| + scratch,
|
| result,
|
| &miss, // When not a string.
|
| &miss, // When not a number.
|
|
|