Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(767)

Unified Diff: src/ic-ia32.cc

Issue 10002: Use shorting encoding for mov reg, imm. (Closed)
Patch Set: Remove an accidental change Created 12 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/ic-ia32.cc
diff --git a/src/ic-ia32.cc b/src/ic-ia32.cc
index 3f56031513e3f2e4200707030bb62b801b705c78..11e55a9291fb2b9f5eb2a7705393623e3fe7a676 100644
--- a/src/ic-ia32.cc
+++ b/src/ic-ia32.cc
@@ -543,12 +543,12 @@ void CallIC::Generate(MacroAssembler* masm,
// Call the entry.
CEntryStub stub;
- __ mov(Operand(eax), Immediate(2));
- __ mov(Operand(ebx), Immediate(f));
+ __ mov(eax, Immediate(2));
+ __ mov(ebx, Immediate(f));
__ CallStub(&stub);
// Move result to edi and exit the internal frame.
- __ mov(Operand(edi), eax);
+ __ mov(edi, eax);
__ LeaveInternalFrame();
// Check if the receiver is a global object of some sort.

Powered by Google App Engine
This is Rietveld 408576698