Index: src/ia32/assembler-ia32.cc |
diff --git a/src/ia32/assembler-ia32.cc b/src/ia32/assembler-ia32.cc |
index 7bea37302589ed52c1759d7f3abb268b5b1ab5d2..e0ae0066552125a938aa1ef1253ffad967339d6b 100644 |
--- a/src/ia32/assembler-ia32.cc |
+++ b/src/ia32/assembler-ia32.cc |
@@ -1227,10 +1227,6 @@ void Assembler::test_b(Register reg, const Operand& op) { |
void Assembler::test(const Operand& op, const Immediate& imm) { |
- if (op.is_reg_only()) { |
- test(op.reg(), imm); |
- return; |
- } |
EnsureSpace ensure_space(this); |
EMIT(0xF7); |
emit_operand(eax, op); |