Index: src/arm/codegen-arm.cc |
diff --git a/src/arm/codegen-arm.cc b/src/arm/codegen-arm.cc |
index 2ef421bcf40cc5cbec321a94fa7d80da0158be04..69a2c9c750d3aecccd5fa69e16edcdaf5d115440 100644 |
--- a/src/arm/codegen-arm.cc |
+++ b/src/arm/codegen-arm.cc |
@@ -101,6 +101,7 @@ UnaryMathFunction CreateExpFunction() { |
CodeDesc desc; |
masm.GetCode(&desc); |
+ ASSERT(!RelocInfo::RequiresRelocation(desc)); |
CPU::FlushICache(buffer, actual_size); |
OS::ProtectCode(buffer, actual_size); |