| Index: src/hydrogen.h
|
| diff --git a/src/hydrogen.h b/src/hydrogen.h
|
| index 818569b0919b0441bcb7a8f68b139c346e0d590c..e7a9dd87746aed09a236353ac86ca60fa173794f 100644
|
| --- a/src/hydrogen.h
|
| +++ b/src/hydrogen.h
|
| @@ -2266,6 +2266,10 @@ class HOptimizedGraphBuilder : public HGraphBuilder, public AstVisitor {
|
| void EnsureArgumentsArePushedForAccess();
|
| bool TryArgumentsAccess(Property* expr);
|
|
|
| + // For indirect calls like .call and .apply
|
| + bool TryIndirectCall(Call* expr);
|
| + // For fun.call(...)
|
| + bool TryCallCall(Call* expr);
|
| // Try to optimize fun.apply(receiver, arguments) pattern.
|
| bool TryCallApply(Call* expr);
|
|
|
| @@ -2532,6 +2536,8 @@ class HOptimizedGraphBuilder : public HGraphBuilder, public AstVisitor {
|
| HInstruction* BuildStringCharCodeAt(HValue* string,
|
| HValue* index);
|
|
|
| + bool IsLiveArguments(Expression* expr);
|
| +
|
| HValue* BuildBinaryOperation(
|
| BinaryOperation* expr,
|
| HValue* left,
|
|
|