Index: src/x87/assembler-x87-inl.h |
diff --git a/src/x87/assembler-x87-inl.h b/src/x87/assembler-x87-inl.h |
index 992c3c1b7a0f9db18466dc292b79bc34da733925..802c80fa716abd5a943e346202f85b11fc7b62b2 100644 |
--- a/src/x87/assembler-x87-inl.h |
+++ b/src/x87/assembler-x87-inl.h |
@@ -452,6 +452,11 @@ void Assembler::emit_code_relative_offset(Label* label) { |
} |
} |
+void Assembler::emit_b(Immediate x) { |
+ DCHECK(x.is_int8() || x.is_uint8()); |
+ uint8_t value = static_cast<uint8_t>(x.x_); |
+ *pc_++ = value; |
+} |
void Assembler::emit_w(const Immediate& x) { |
DCHECK(RelocInfo::IsNone(x.rmode_)); |