Index: src/ia32/macro-assembler-ia32.cc |
diff --git a/src/ia32/macro-assembler-ia32.cc b/src/ia32/macro-assembler-ia32.cc |
index 64b5683446038137855436a37a9b172809d19b23..23cd3d5105d28b60a2e1d9b7ad781fef63fbb181 100644 |
--- a/src/ia32/macro-assembler-ia32.cc |
+++ b/src/ia32/macro-assembler-ia32.cc |
@@ -253,8 +253,8 @@ void MacroAssembler::X87TOSToI(Register result_reg, |
Label::Distance dst) { |
Label done; |
sub(esp, Immediate(kPointerSize)); |
- fist_s(MemOperand(esp, 0)); |
fld(0); |
+ fist_s(MemOperand(esp, 0)); |
fild_s(MemOperand(esp, 0)); |
pop(result_reg); |
FCmp(); |
@@ -453,6 +453,7 @@ static double kUint32Bias = |
void MacroAssembler::LoadUint32(XMMRegister dst, |
Register src, |
XMMRegister scratch) { |
+ ASSERT(!Serializer::enabled()); |
Label done; |
cmp(src, Immediate(0)); |
movdbl(scratch, |