Index: src/ia32/macro-assembler-ia32.h |
diff --git a/src/ia32/macro-assembler-ia32.h b/src/ia32/macro-assembler-ia32.h |
index d537b0b2cbd953b36887fbf558ae9257e53faa7a..91a84e9e742413b9e02df76ee8028a6e508dfcb6 100644 |
--- a/src/ia32/macro-assembler-ia32.h |
+++ b/src/ia32/macro-assembler-ia32.h |
@@ -474,6 +474,21 @@ class MacroAssembler: public Assembler { |
XMMRegister scratch_reg, |
Register result_reg); |
+ void SlowTruncateToI(Register result_reg, Register input_reg, |
+ int offset = HeapNumber::kValueOffset - kHeapObjectTag); |
+ |
+ void TruncateHeapNumberToI(Register result_reg, Register input_reg); |
+ void TruncateDoubleToI(Register result_reg, XMMRegister input_reg); |
+ void TruncateX87TOSToI(Register result_reg); |
+ |
+ void DoubleToI(Register result_reg, XMMRegister input_reg, |
+ XMMRegister scratch, MinusZeroMode minus_zero_mode, |
+ Label* conversion_failed, Label::Distance dst = Label::kFar); |
+ void X87TOSToI(Register result_reg, MinusZeroMode minus_zero_mode, |
+ Label* conversion_failed, Label::Distance dst = Label::kFar); |
+ |
+ void TaggedToI(Register result_reg, Register input_reg, XMMRegister temp, |
+ MinusZeroMode minus_zero_mode, Label* lost_precision); |
// Smi tagging support. |
void SmiTag(Register reg) { |