Index: src/compiler/js-call-reducer.h |
diff --git a/src/compiler/js-call-reducer.h b/src/compiler/js-call-reducer.h |
index db27474843efabd064d7077f3f0e2a25dc2d4897..e8c1cb5a0dbb6879c4f736a4f5ba8472bb3ae291 100644 |
--- a/src/compiler/js-call-reducer.h |
+++ b/src/compiler/js-call-reducer.h |
@@ -18,6 +18,7 @@ class Factory; |
namespace compiler { |
// Forward declarations. |
+class CallFrequency; |
class CommonOperatorBuilder; |
class JSGraph; |
class JSOperatorBuilder; |
@@ -50,12 +51,15 @@ class JSCallReducer final : public AdvancedReducer { |
Reduction ReduceObjectGetPrototypeOf(Node* node); |
Reduction ReduceObjectPrototypeGetProto(Node* node); |
Reduction ReduceObjectPrototypeIsPrototypeOf(Node* node); |
+ Reduction ReduceReflectApply(Node* node); |
Reduction ReduceReflectGetPrototypeOf(Node* node); |
Reduction ReduceArrayForEach(Handle<JSFunction> function, Node* node); |
- Reduction ReduceSpreadCall(Node* node, int arity); |
+ Reduction ReduceCallOrConstructWithArrayLikeOrSpread( |
+ Node* node, int arity, CallFrequency const& frequency); |
Reduction ReduceJSConstruct(Node* node); |
Reduction ReduceJSConstructWithSpread(Node* node); |
Reduction ReduceJSCall(Node* node); |
+ Reduction ReduceJSCallWithArrayLike(Node* node); |
Reduction ReduceJSCallWithSpread(Node* node); |
Reduction ReduceReturnReceiver(Node* node); |