| Index: src/compiler/js-inlining.h
|
| diff --git a/src/compiler/js-inlining.h b/src/compiler/js-inlining.h
|
| index 5e6b39a0273c2d99b3cbf093134350a46f6b268d..8a4e0c178084a1a0ed4fc6689ce5216aa4c74b8c 100644
|
| --- a/src/compiler/js-inlining.h
|
| +++ b/src/compiler/js-inlining.h
|
| @@ -6,6 +6,7 @@
|
| #define V8_COMPILER_JS_INLINING_H_
|
|
|
| #include "src/compiler/js-graph.h"
|
| +#include "src/compiler/graph-reducer.h"
|
|
|
| namespace v8 {
|
| namespace internal {
|
| @@ -13,13 +14,12 @@ namespace compiler {
|
|
|
| class JSCallFunctionAccessor;
|
|
|
| -class JSInliner {
|
| +class JSInliner FINAL : public Reducer {
|
| public:
|
| JSInliner(Zone* local_zone, CompilationInfo* info, JSGraph* jsgraph)
|
| : local_zone_(local_zone), info_(info), jsgraph_(jsgraph) {}
|
|
|
| - void Inline();
|
| - void TryInlineJSCall(Node* node);
|
| + Reduction Reduce(Node* node) OVERRIDE;
|
|
|
| private:
|
| friend class InlinerVisitor;
|
| @@ -31,6 +31,7 @@ class JSInliner {
|
| Handle<JSFunction> jsfunction,
|
| Zone* temp_zone);
|
| void AddClosureToFrameState(Node* frame_state, Handle<JSFunction> jsfunction);
|
| + Reduction TryInlineJSCall(Node* node, Handle<JSFunction> jsfunction);
|
| static void UnifyReturn(Graph* graph);
|
| };
|
| }
|
|
|