Index: src/ia32/assembler-ia32.cc |
diff --git a/src/ia32/assembler-ia32.cc b/src/ia32/assembler-ia32.cc |
index 0e9ffeaab89d8bf4da01eb73689e87b3f50be1ae..2cf469aeb889c4ef8800bf4a741859d4aad30b25 100644 |
--- a/src/ia32/assembler-ia32.cc |
+++ b/src/ia32/assembler-ia32.cc |
@@ -1261,6 +1261,14 @@ void Assembler::test(Register reg, const Operand& op) { |
} |
+void Assembler::test_b(Register reg, const Operand& op) { |
+ EnsureSpace ensure_space(this); |
+ last_pc_ = pc_; |
+ EMIT(0x84); |
+ emit_operand(reg, op); |
+} |
+ |
+ |
void Assembler::test(const Operand& op, const Immediate& imm) { |
EnsureSpace ensure_space(this); |
last_pc_ = pc_; |