Index: src/x87/assembler-x87-inl.h |
diff --git a/src/x87/assembler-x87-inl.h b/src/x87/assembler-x87-inl.h |
index 07a8751099c1c6844397332b30501f7d216a806c..66993481121f08f2386765aeaee7d72bc2c40455 100644 |
--- a/src/x87/assembler-x87-inl.h |
+++ b/src/x87/assembler-x87-inl.h |
@@ -555,6 +555,12 @@ Operand::Operand(int32_t disp, RelocInfo::Mode rmode) { |
set_dispr(disp, rmode); |
} |
+ |
+Operand::Operand(Immediate imm) { |
+ // [disp/r] |
+ set_modrm(0, ebp); |
+ set_dispr(imm.x_, imm.rmode_); |
+} |
} } // namespace v8::internal |
#endif // V8_X87_ASSEMBLER_X87_INL_H_ |