Index: src/compiler/control-reducer.h |
diff --git a/src/compiler/control-reducer.h b/src/compiler/control-reducer.h |
index e9ae9bc9db9f0e851bfbb3ac2eaabd1298d37f5a..e25bb8820291bd8d784c1d415953d71412d8aa31 100644 |
--- a/src/compiler/control-reducer.h |
+++ b/src/compiler/control-reducer.h |
@@ -11,6 +11,7 @@ namespace compiler { |
class JSGraph; |
class CommonOperatorBuilder; |
+class Node; |
class ControlReducer { |
public: |
@@ -20,6 +21,16 @@ class ControlReducer { |
// Trim nodes in the graph that are not reachable from end. |
static void TrimGraph(Zone* zone, JSGraph* graph); |
+ |
+ // Testing interface. |
+ static Node* ReducePhiForTesting(JSGraph* graph, |
+ CommonOperatorBuilder* builder, Node* node); |
+ static Node* ReduceBranchForTesting(JSGraph* graph, |
+ CommonOperatorBuilder* builder, |
+ Node* node); |
+ static Node* ReduceMergeForTesting(JSGraph* graph, |
+ CommonOperatorBuilder* builder, |
+ Node* node); |
}; |
} |
} |