| Index: src/crankshaft/hydrogen.cc
|
| diff --git a/src/crankshaft/hydrogen.cc b/src/crankshaft/hydrogen.cc
|
| index 43f2539606319c74f8ed4b7927d4f323c7f81fa2..98128e383967603ed42a1e6ec5f0031ad3a7c149 100644
|
| --- a/src/crankshaft/hydrogen.cc
|
| +++ b/src/crankshaft/hydrogen.cc
|
| @@ -8855,11 +8855,13 @@ bool HOptimizedGraphBuilder::TryInlineBuiltinFunctionCall(Call* expr) {
|
| // We intentionally ignore expr->tail_call_mode() here because builtins
|
| // we inline here do not observe if they were tail called or not.
|
| switch (id) {
|
| + case kMathCos:
|
| case kMathExp:
|
| case kMathRound:
|
| case kMathFround:
|
| case kMathFloor:
|
| case kMathAbs:
|
| + case kMathSin:
|
| case kMathSqrt:
|
| case kMathLog:
|
| case kMathClz32:
|
| @@ -9036,13 +9038,13 @@ bool HOptimizedGraphBuilder::TryInlineBuiltinMethodCall(
|
| return true;
|
| }
|
| break;
|
| + case kMathCos:
|
| case kMathExp:
|
| - if (!FLAG_fast_math) break;
|
| - // Fall through if FLAG_fast_math.
|
| case kMathRound:
|
| case kMathFround:
|
| case kMathFloor:
|
| case kMathAbs:
|
| + case kMathSin:
|
| case kMathSqrt:
|
| case kMathLog:
|
| case kMathClz32:
|
|
|