From: deanm@chromium.org Date: Tue, 4 Nov 2008 14:02:24 +0000 (+0000) Subject: Use 1 byte push REG instructions instead of the 2 byte ModRM version. X-Git-Tag: upstream/4.7.83~25045 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a62c678814682e7b535e236984f1e52075879093;p=platform%2Fupstream%2Fv8.git 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 --- 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;