From a62c678814682e7b535e236984f1e52075879093 Mon Sep 17 00:00:00 2001 From: "deanm@chromium.org" Date: Tue, 4 Nov 2008 14:02:24 +0000 Subject: [PATCH] Use 1 byte push REG instructions instead of the 2 byte ModRM version. git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@690 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- src/builtins-ia32.cc | 2 +- src/ic-ia32.cc | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/builtins-ia32.cc b/src/builtins-ia32.cc index 0de381c5e..92a24dddd 100644 --- a/src/builtins-ia32.cc +++ b/src/builtins-ia32.cc @@ -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); } diff --git a/src/ic-ia32.cc b/src/ic-ia32.cc index 82eb14d9d..3f5603151 100644 --- a/src/ic-ia32.cc +++ b/src/ic-ia32.cc @@ -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; -- 2.34.1