Index: src/crankshaft/hydrogen.cc |
diff --git a/src/crankshaft/hydrogen.cc b/src/crankshaft/hydrogen.cc |
index 43f2539606319c74f8ed4b7927d4f323c7f81fa2..a7958e1d60a1c4e1b7b8afce200dde32fc7f928c 100644 |
--- a/src/crankshaft/hydrogen.cc |
+++ b/src/crankshaft/hydrogen.cc |
@@ -8856,6 +8856,8 @@ |
// we inline here do not observe if they were tail called or not. |
switch (id) { |
case kMathExp: |
+ if (!FLAG_fast_math) break; |
+ // Fall through if FLAG_fast_math. |
case kMathRound: |
case kMathFround: |
case kMathFloor: |