Index: src/hydrogen.cc |
diff --git a/src/hydrogen.cc b/src/hydrogen.cc |
index ccc11ff346c020c1f55f71173f124ef448d8adf7..1590ab36698d9d5b98605111966ed17b8c7bc2a8 100644 |
--- a/src/hydrogen.cc |
+++ b/src/hydrogen.cc |
@@ -7253,6 +7253,9 @@ bool HGraphBuilder::TryInlineBuiltinFunctionCall(Call* expr, bool drop_extra) { |
if (!expr->target()->shared()->HasBuiltinFunctionId()) return false; |
BuiltinFunctionId id = expr->target()->shared()->builtin_function_id(); |
switch (id) { |
+ case kMathExp: |
+ if (!FLAG_fast_math) break; |
+ // Fall through if FLAG_fast_math. |
case kMathRound: |
case kMathAbs: |
case kMathSqrt: |
@@ -7313,6 +7316,9 @@ bool HGraphBuilder::TryInlineBuiltinMethodCall(Call* expr, |
return true; |
} |
break; |
+ case kMathExp: |
+ if (!FLAG_fast_math) break; |
+ // Fall through if FLAG_fast_math. |
case kMathRound: |
case kMathFloor: |
case kMathAbs: |