Author: [EMAIL PROTECTED]
Date: Tue Nov  4 06:02:24 2008
New Revision: 690

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

Log:
Use 1 byte push REG instructions instead of the 2 byte ModRM version.

Modified: branches/bleeding_edge/src/builtins-ia32.cc
==============================================================================
--- branches/bleeding_edge/src/builtins-ia32.cc (original)
+++ branches/bleeding_edge/src/builtins-ia32.cc Tue Nov  4 06:02:24 2008
@@ -657,7 +657,7 @@
    // arguments and the receiver.
    ASSERT(kSmiTagSize == 1);
    __ lea(ecx, Operand(eax, eax, times_1, kSmiTag));
-  __ push(Operand(ecx));
+  __ push(ecx);
  }



Modified: branches/bleeding_edge/src/ic-ia32.cc
==============================================================================
--- branches/bleeding_edge/src/ic-ia32.cc       (original)
+++ branches/bleeding_edge/src/ic-ia32.cc       Tue Nov  4 06:02:24 2008
@@ -538,8 +538,8 @@
    __ EnterInternalFrame();

    // Push the receiver and the name of the function.
-  __ push(Operand(edx));
-  __ push(Operand(ebx));
+  __ push(edx);
+  __ push(ebx);

    // Call the entry.
    CEntryStub stub;

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

Reply via email to