| Index: src/compiler/js-generic-lowering.h
|
| diff --git a/src/compiler/js-generic-lowering.h b/src/compiler/js-generic-lowering.h
|
| index 63d8e93ca45853174991a3a339e6c6e6a806eb2b..e4b20d0840f86a2a900b1eb51481bc3b4dfd7dab 100644
|
| --- a/src/compiler/js-generic-lowering.h
|
| +++ b/src/compiler/js-generic-lowering.h
|
| @@ -36,13 +36,6 @@ class JSGenericLowering : public Reducer {
|
| ALL_OP_LIST(DECLARE_LOWER)
|
| #undef DECLARE_LOWER
|
|
|
| - // Helpers to create new constant nodes.
|
| - Node* SmiConstant(int immediate);
|
| - Node* Int32Constant(int immediate);
|
| - Node* CodeConstant(Handle<Code> code);
|
| - Node* FunctionConstant(Handle<JSFunction> function);
|
| - Node* ExternalConstant(ExternalReference ref);
|
| -
|
| // Helpers to patch existing nodes in the graph.
|
| void PatchOperator(Node* node, const Operator* new_op);
|
| void PatchInsertInput(Node* node, int index, Node* input);
|
| @@ -53,6 +46,9 @@ class JSGenericLowering : public Reducer {
|
| void ReplaceWithBuiltinCall(Node* node, Builtins::JavaScript id, int args);
|
| void ReplaceWithRuntimeCall(Node* node, Runtime::FunctionId f, int args = -1);
|
|
|
| + // Helper for optimization of JSCallFunction.
|
| + bool TryLowerDirectJSCall(Node* node);
|
| +
|
| Zone* zone() const { return graph()->zone(); }
|
| Isolate* isolate() const { return zone()->isolate(); }
|
| JSGraph* jsgraph() const { return jsgraph_; }
|
| @@ -66,8 +62,6 @@ class JSGenericLowering : public Reducer {
|
| CompilationInfo* info_;
|
| JSGraph* jsgraph_;
|
| Linkage* linkage_;
|
| -
|
| - bool TryLowerDirectJSCall(Node* node);
|
| };
|
|
|
| } // namespace compiler
|
|
|