Index: src/ia32/assembler-ia32.cc |
diff --git a/src/ia32/assembler-ia32.cc b/src/ia32/assembler-ia32.cc |
index 925ae48c5e8659b3a619a51d1eab16420219c15a..6ebda4d767c0e68651c03e8fa3dff34aa4a79fa2 100644 |
--- a/src/ia32/assembler-ia32.cc |
+++ b/src/ia32/assembler-ia32.cc |
@@ -852,14 +852,14 @@ |
void Assembler::cmpw(Register reg, const Operand& op) { |
EnsureSpace ensure_space(this); |
EMIT(0x66); |
+ EMIT(0x39); |
+ emit_operand(reg, op); |
+} |
+ |
+void Assembler::cmpw(const Operand& op, Register reg) { |
+ EnsureSpace ensure_space(this); |
+ EMIT(0x66); |
EMIT(0x3B); |
- emit_operand(reg, op); |
-} |
- |
-void Assembler::cmpw(const Operand& op, Register reg) { |
- EnsureSpace ensure_space(this); |
- EMIT(0x66); |
- EMIT(0x39); |
emit_operand(reg, op); |
} |