Index: src/compiler/branch-elimination.h |
diff --git a/src/compiler/branch-elimination.h b/src/compiler/branch-elimination.h |
index a7ac926c7abd767618166b7f24435540f540bb32..7abeecaf61e85cc9426c4ee44a1c7ea0dd968b1b 100644 |
--- a/src/compiler/branch-elimination.h |
+++ b/src/compiler/branch-elimination.h |
@@ -11,6 +11,8 @@ namespace v8 { |
namespace internal { |
namespace compiler { |
+// Forward declarations. |
+class CommonOperatorBuilder; |
class JSGraph; |
@@ -73,6 +75,7 @@ class BranchElimination final : public AdvancedReducer { |
}; |
Reduction ReduceBranch(Node* node); |
+ Reduction ReduceDeoptimizeConditional(Node* node); |
Reduction ReduceIf(Node* node, bool is_true_branch); |
Reduction ReduceLoop(Node* node); |
Reduction ReduceMerge(Node* node); |
@@ -84,7 +87,11 @@ class BranchElimination final : public AdvancedReducer { |
const ControlPathConditions* conditions); |
Node* dead() const { return dead_; } |
+ Graph* graph() const; |
+ JSGraph* jsgraph() const { return jsgraph_; } |
+ CommonOperatorBuilder* common() const; |
+ JSGraph* const jsgraph_; |
PathConditionsForControlNodes node_conditions_; |
Zone* zone_; |
Node* dead_; |