Index: src/hydrogen.cc |
diff --git a/src/hydrogen.cc b/src/hydrogen.cc |
index ccddd88690b19b4413ca14061cd4280a10d0ab68..9c83380492f6158b14d3c181c345980ddb44936d 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(); |