Use 1 byte push REG instructions instead of the 2 byte ModRM version.
authordeanm@chromium.org <deanm@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Tue, 4 Nov 2008 14:02:24 +0000 (14:02 +0000)
committerdeanm@chromium.org <deanm@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Tue, 4 Nov 2008 14:02:24 +0000 (14:02 +0000)
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@690 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

src/builtins-ia32.cc
src/ic-ia32.cc

index 0de381c..92a24dd 100644 (file)
@@ -657,7 +657,7 @@ static void EnterArgumentsAdaptorFrame(MacroAssembler* masm) {
   // arguments and the receiver.
   ASSERT(kSmiTagSize == 1);
   __ lea(ecx, Operand(eax, eax, times_1, kSmiTag));
-  __ push(Operand(ecx));
+  __ push(ecx);
 }
 
 
index 82eb14d..3f56031 100644 (file)
@@ -538,8 +538,8 @@ void CallIC::Generate(MacroAssembler* masm,
   __ 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;