Index: src/hydrogen.cc |
diff --git a/src/hydrogen.cc b/src/hydrogen.cc |
index ee02b68ec30217af13d6bdd2b681b5eb0ed3c4ea..b271e490d115595df0b37f68baa33d1dba70705d 100644 |
--- a/src/hydrogen.cc |
+++ b/src/hydrogen.cc |
@@ -5420,6 +5420,7 @@ bool HGraphBuilder::TryInlineBuiltinFunctionCall(Call* expr, bool drop_extra) { |
case kMathLog: |
case kMathSin: |
case kMathCos: |
+ case kMathTan: |
if (expr->arguments()->length() == 1) { |
HValue* argument = Pop(); |
HValue* context = environment()->LookupContext(); |
@@ -5480,6 +5481,7 @@ bool HGraphBuilder::TryInlineBuiltinMethodCall(Call* expr, |
case kMathLog: |
case kMathSin: |
case kMathCos: |
+ case kMathTan: |
if (argument_count == 2 && check_type == RECEIVER_MAP_CHECK) { |
AddCheckConstantFunction(expr, receiver, receiver_map, true); |
HValue* argument = Pop(); |