Index: src/mips64/codegen-mips64.cc |
diff --git a/src/mips64/codegen-mips64.cc b/src/mips64/codegen-mips64.cc |
index 1779c9d2f84701dabc384c6224b5eecf114883b6..8533ede55c7407e894e28f1a2ea38d892b953648 100644 |
--- a/src/mips64/codegen-mips64.cc |
+++ b/src/mips64/codegen-mips64.cc |
@@ -989,6 +989,7 @@ void MathExpGenerator::EmitMathExp(MacroAssembler* masm, |
DCHECK(!temp1.is(temp3)); |
DCHECK(!temp2.is(temp3)); |
DCHECK(ExternalReference::math_exp_constants(0).address() != NULL); |
+ DCHECK(!masm->serializer_enabled()); // External references not serializable. |
Label zero, infinity, done; |
__ li(temp3, Operand(ExternalReference::math_exp_constants(0))); |