Index: src/ia32/stub-cache-ia32.cc |
diff --git a/src/ia32/stub-cache-ia32.cc b/src/ia32/stub-cache-ia32.cc |
index 3089a69473ff70da40104773507feee8d63bda23..6b28fe61a680c15afb5ca5e612cb698a5430fec1 100644 |
--- a/src/ia32/stub-cache-ia32.cc |
+++ b/src/ia32/stub-cache-ia32.cc |
@@ -1624,7 +1624,6 @@ Handle<Code> CallStubCompiler::CompileStringCharCodeAtCall( |
Register receiver = ebx; |
Register index = edi; |
- Register scratch = edx; |
Register result = eax; |
__ mov(receiver, Operand(esp, (argc + 1) * kPointerSize)); |
if (argc > 0) { |
@@ -1635,7 +1634,6 @@ Handle<Code> CallStubCompiler::CompileStringCharCodeAtCall( |
StringCharCodeAtGenerator generator(receiver, |
index, |
- scratch, |
result, |
&miss, // When not a string. |
&miss, // When not a number. |
@@ -1709,8 +1707,7 @@ Handle<Code> CallStubCompiler::CompileStringCharAtCall( |
Register receiver = eax; |
Register index = edi; |
- Register scratch1 = ebx; |
- Register scratch2 = edx; |
+ Register scratch = edx; |
Register result = eax; |
__ mov(receiver, Operand(esp, (argc + 1) * kPointerSize)); |
if (argc > 0) { |
@@ -1721,8 +1718,7 @@ Handle<Code> CallStubCompiler::CompileStringCharAtCall( |
StringCharAtGenerator generator(receiver, |
index, |
- scratch1, |
- scratch2, |
+ scratch, |
result, |
&miss, // When not a string. |
&miss, // When not a number. |