| Index: src/hydrogen.h
|
| diff --git a/src/hydrogen.h b/src/hydrogen.h
|
| index e91199e2fd309d93be4dcd696fae64e4d1d54eeb..f82186532c1b96c2e00e0d01053d02599553b966 100644
|
| --- a/src/hydrogen.h
|
| +++ b/src/hydrogen.h
|
| @@ -2242,6 +2242,8 @@ class HOptimizedGraphBuilder : public HGraphBuilder, public AstVisitor {
|
| PropertyAccessType access_type);
|
|
|
| void EnsureArgumentsArePushedForAccess();
|
| + // Try to inline mathematical constants like Math.PI
|
| + bool TryMathConstant(Property* expr);
|
| bool TryArgumentsAccess(Property* expr);
|
|
|
| // Try to optimize fun.apply(receiver, arguments) pattern.
|
|
|