Index: src/x64/codegen-x64.cc |
diff --git a/src/x64/codegen-x64.cc b/src/x64/codegen-x64.cc |
index fe711eb2395afae0dc029a8dee4fb3502e5a12a8..01cb512d02b1a25dbd336ab5c8a8fdd479d17e6f 100644 |
--- a/src/x64/codegen-x64.cc |
+++ b/src/x64/codegen-x64.cc |
@@ -585,6 +585,7 @@ void MathExpGenerator::EmitMathExp(MacroAssembler* masm, |
DCHECK(!result.is(double_scratch)); |
DCHECK(!temp1.is(temp2)); |
DCHECK(ExternalReference::math_exp_constants(0).address() != NULL); |
+ DCHECK(!masm->serializer_enabled()); // External references not serializable. |
Label done; |