| Index: src/x64/full-codegen-x64.cc
|
| diff --git a/src/x64/full-codegen-x64.cc b/src/x64/full-codegen-x64.cc
|
| index aeff76a02419a5327c1535c38ee20fecedc8aff8..b64aeb40bb575e44f005f1962ad1a60c6756b25c 100644
|
| --- a/src/x64/full-codegen-x64.cc
|
| +++ b/src/x64/full-codegen-x64.cc
|
| @@ -2865,7 +2865,6 @@ void FullCodeGenerator::EmitStringCharCodeAt(CallRuntime* expr) {
|
|
|
| Register object = rbx;
|
| Register index = rax;
|
| - Register scratch = rcx;
|
| Register result = rdx;
|
|
|
| __ pop(object);
|
| @@ -2875,7 +2874,6 @@ void FullCodeGenerator::EmitStringCharCodeAt(CallRuntime* expr) {
|
| Label done;
|
| StringCharCodeAtGenerator generator(object,
|
| index,
|
| - scratch,
|
| result,
|
| &need_conversion,
|
| &need_conversion,
|
| @@ -2913,8 +2911,7 @@ void FullCodeGenerator::EmitStringCharAt(CallRuntime* expr) {
|
|
|
| Register object = rbx;
|
| Register index = rax;
|
| - Register scratch1 = rcx;
|
| - Register scratch2 = rdx;
|
| + Register scratch = rdx;
|
| Register result = rax;
|
|
|
| __ pop(object);
|
| @@ -2924,8 +2921,7 @@ void FullCodeGenerator::EmitStringCharAt(CallRuntime* expr) {
|
| Label done;
|
| StringCharAtGenerator generator(object,
|
| index,
|
| - scratch1,
|
| - scratch2,
|
| + scratch,
|
| result,
|
| &need_conversion,
|
| &need_conversion,
|
|
|