Revision: 3114
Author: [email protected]
Date: Thu Oct 22 08:21:00 2009
Log: Fix lint errors.

Review URL: http://codereview.chromium.org/307037
http://code.google.com/p/v8/source/detail?r=3114

Modified:
  /branches/bleeding_edge/src/ia32/ic-ia32.cc
  /branches/bleeding_edge/src/x64/ic-x64.cc

=======================================
--- /branches/bleeding_edge/src/ia32/ic-ia32.cc Thu Oct 22 07:49:00 2009
+++ /branches/bleeding_edge/src/ia32/ic-ia32.cc Thu Oct 22 08:21:00 2009
@@ -430,7 +430,6 @@

    if (array_type == kExternalIntArray ||
        array_type == kExternalUnsignedIntArray) {
-
      // For the Int and UnsignedInt array types, we need to see whether
      // the value can be represented in a Smi. If not, we need to convert
      // it to a HeapNumber.
@@ -755,15 +754,15 @@
      __ j(parity_even, &is_nan);

      if (array_type != kExternalUnsignedIntArray) {
-      __ push(eax); // Make room on stack
+      __ push(eax);  // Make room on stack
        __ fistp_s(Operand(esp, 0));
        __ pop(eax);
      } else {
        // fistp stores values as signed integers.
        // To represent the entire range, we need to store as a 64-bit
        // int and discard the high 32 bits.
-      __ push(eax); // Make room on stack
-      __ push(eax); // Make room on stack
+      __ push(eax);  // Make room on stack
+      __ push(eax);  // Make room on stack
        __ fistp_d(Operand(esp, 0));
        __ pop(eax);
        __ mov(Operand(esp, 0), eax);
=======================================
--- /branches/bleeding_edge/src/x64/ic-x64.cc   Thu Oct 22 07:49:00 2009
+++ /branches/bleeding_edge/src/x64/ic-x64.cc   Thu Oct 22 08:21:00 2009
@@ -442,7 +442,6 @@

    if (array_type == kExternalIntArray ||
        array_type == kExternalUnsignedIntArray) {
-
      // For the Int and UnsignedInt array types, we need to see whether
      // the value can be represented in a Smi. If not, we need to convert
      // it to a HeapNumber.
@@ -798,7 +797,7 @@
      __ fucomi(0);
      __ j(parity_even, &is_nan);

-    __ push(rax); // Make room on stack
+    __ push(rax);  // Make room on stack
      __ fistp_d(Operand(rsp, 0));
      __ pop(rax);
      // rax: untagged integer value

--~--~---------~--~----~------------~-------~--~----~
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
-~----------~----~----~----~------~----~------~--~---

Reply via email to