Index: src/compiler/js-inlining.h |
diff --git a/src/compiler/js-inlining.h b/src/compiler/js-inlining.h |
index 323c3ae0bf1e183b6fc69ca8f90097ceb28553f4..32af5e662dd7c2efc33c04fe42eefdf97fe4eab9 100644 |
--- a/src/compiler/js-inlining.h |
+++ b/src/compiler/js-inlining.h |
@@ -5,8 +5,9 @@ |
#ifndef V8_COMPILER_JS_INLINING_H_ |
#define V8_COMPILER_JS_INLINING_H_ |
-#include "src/compiler/js-graph.h" |
+#include "src/compiler/compiler-source-position-table.h" |
#include "src/compiler/graph-reducer.h" |
+#include "src/compiler/js-graph.h" |
namespace v8 { |
namespace internal { |
@@ -22,11 +23,12 @@ namespace compiler { |
class JSInliner final : public AdvancedReducer { |
public: |
JSInliner(Editor* editor, Zone* local_zone, CompilationInfo* info, |
- JSGraph* jsgraph) |
+ JSGraph* jsgraph, SourcePositionTable* source_positions) |
: AdvancedReducer(editor), |
local_zone_(local_zone), |
info_(info), |
- jsgraph_(jsgraph) {} |
+ jsgraph_(jsgraph), |
+ source_positions_(source_positions) {} |
// Reducer interface, eagerly inlines everything. |
Reduction Reduce(Node* node) final; |
@@ -45,6 +47,7 @@ class JSInliner final : public AdvancedReducer { |
Zone* const local_zone_; |
CompilationInfo* info_; |
JSGraph* const jsgraph_; |
+ SourcePositionTable* const source_positions_; |
Node* CreateArtificialFrameState(Node* node, Node* outer_frame_state, |
int parameter_count, |