Revision: 11473
Author: [email protected]
Date: Mon Apr 30 10:06:13 2012
Log: Fix mistakes in r11472
[email protected]
Review URL: https://chromiumcodereview.appspot.com/10274008
http://code.google.com/p/v8/source/detail?r=11473
Modified:
/branches/bleeding_edge/src/ia32/stub-cache-ia32.cc
/branches/bleeding_edge/src/x64/stub-cache-x64.cc
=======================================
--- /branches/bleeding_edge/src/ia32/stub-cache-ia32.cc Mon Apr 30 08:17:59
2012
+++ /branches/bleeding_edge/src/ia32/stub-cache-ia32.cc Mon Apr 30 10:06:13
2012
@@ -3644,6 +3644,7 @@
case EXTERNAL_INT_ELEMENTS:
case EXTERNAL_UNSIGNED_INT_ELEMENTS:
__ mov(Operand(edi, ecx, times_2, 0), ebx);
+ break;
default:
UNREACHABLE();
break;
=======================================
--- /branches/bleeding_edge/src/x64/stub-cache-x64.cc Mon Apr 30 08:17:59
2012
+++ /branches/bleeding_edge/src/x64/stub-cache-x64.cc Mon Apr 30 10:06:13
2012
@@ -3403,9 +3403,9 @@
// behavior.
// Fast path: use machine instruction to convert to int64. If that
// fails (out-of-range), go into the runtime.
- __ cvttsd2siq(rdx, xmm0);
+ __ cvttsd2siq(r8, xmm0);
__ Set(kScratchRegister, V8_UINT64_C(0x8000000000000000));
- __ cmpq(rdx, kScratchRegister);
+ __ cmpq(r8, kScratchRegister);
__ j(equal, &slow);
// rdx: value (converted to an untagged integer)
@@ -3414,15 +3414,15 @@
switch (elements_kind) {
case EXTERNAL_BYTE_ELEMENTS:
case EXTERNAL_UNSIGNED_BYTE_ELEMENTS:
- __ movb(Operand(rbx, rdi, times_1, 0), rdx);
+ __ movb(Operand(rbx, rdi, times_1, 0), r8);
break;
case EXTERNAL_SHORT_ELEMENTS:
case EXTERNAL_UNSIGNED_SHORT_ELEMENTS:
- __ movw(Operand(rbx, rdi, times_2, 0), rdx);
+ __ movw(Operand(rbx, rdi, times_2, 0), r8);
break;
case EXTERNAL_INT_ELEMENTS:
case EXTERNAL_UNSIGNED_INT_ELEMENTS:
- __ movl(Operand(rbx, rdi, times_4, 0), rdx);
+ __ movl(Operand(rbx, rdi, times_4, 0), r8);
break;
case EXTERNAL_PIXEL_ELEMENTS:
case EXTERNAL_FLOAT_ELEMENTS:
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev