| Index: src/x64/ic-x64.cc
|
| diff --git a/src/x64/ic-x64.cc b/src/x64/ic-x64.cc
|
| index e8ab06cdab950e8c4ebe9c2f5004c17d0da27804..3a577530d65e73f1e0bc19644d1885adc833701f 100644
|
| --- a/src/x64/ic-x64.cc
|
| +++ b/src/x64/ic-x64.cc
|
| @@ -531,14 +531,12 @@ void KeyedLoadIC::GenerateString(MacroAssembler* masm) {
|
|
|
| Register receiver = rdx;
|
| Register index = rax;
|
| - Register scratch1 = rbx;
|
| - Register scratch2 = rcx;
|
| + Register scratch = rcx;
|
| Register result = rax;
|
|
|
| StringCharAtGenerator char_at_generator(receiver,
|
| index,
|
| - scratch1,
|
| - scratch2,
|
| + scratch,
|
| result,
|
| &miss, // When not a string.
|
| &miss, // When not a number.
|
|
|