Index: src/compiler/js-inlining.h |
diff --git a/src/compiler/js-inlining.h b/src/compiler/js-inlining.h |
index 174b1e9a7abadcb2edd16c5da7a7c80d8dea7096..2f8dfa031e2611015814973cfbec6d4e99fbeef7 100644 |
--- a/src/compiler/js-inlining.h |
+++ b/src/compiler/js-inlining.h |
@@ -13,14 +13,19 @@ namespace internal { |
namespace compiler { |
class JSCallFunctionAccessor; |
+struct Inlinee; |
-class JSInliner final : public Reducer { |
+class JSInliner final : public AdvancedReducer { |
public: |
enum Mode { kBuiltinsInlining, kGeneralInlining }; |
- JSInliner(Mode mode, Zone* local_zone, CompilationInfo* info, |
+ JSInliner(Editor* editor, Mode mode, Zone* local_zone, CompilationInfo* info, |
JSGraph* jsgraph) |
- : mode_(mode), local_zone_(local_zone), info_(info), jsgraph_(jsgraph) {} |
+ : AdvancedReducer(editor), |
+ mode_(mode), |
+ local_zone_(local_zone), |
+ info_(info), |
+ jsgraph_(jsgraph) {} |
Reduction Reduce(Node* node) final; |
@@ -34,6 +39,8 @@ class JSInliner final : public Reducer { |
Handle<JSFunction> jsfunction, |
Zone* temp_zone); |
void AddClosureToFrameState(Node* frame_state, Handle<JSFunction> jsfunction); |
+ |
+ Reduction InlineCall(Node* call, Inlinee& inlinee); |
}; |
} // namespace compiler |