Index: src/compiler/simplified-operator-reducer.h |
diff --git a/src/compiler/simplified-operator-reducer.h b/src/compiler/simplified-operator-reducer.h |
index 8f6c9aa807185256a106b4e05b48c9e01a0e545d..1e565b8b137bb91278053fcc22778ecda1bee700 100644 |
--- a/src/compiler/simplified-operator-reducer.h |
+++ b/src/compiler/simplified-operator-reducer.h |
@@ -17,6 +17,7 @@ class Heap; |
namespace compiler { |
// Forward declarations. |
+class CommonOperatorBuilder; |
class JSGraph; |
class MachineOperatorBuilder; |
@@ -28,6 +29,8 @@ class SimplifiedOperatorReducer FINAL : public Reducer { |
Reduction Reduce(Node* node) FINAL; |
private: |
+ Reduction ReduceAnyToBoolean(Node* node); |
+ |
Reduction Change(Node* node, const Operator* op, Node* a); |
Reduction ReplaceFloat64(double value); |
Reduction ReplaceInt32(int32_t value); |
@@ -40,6 +43,7 @@ class SimplifiedOperatorReducer FINAL : public Reducer { |
Graph* graph() const; |
Factory* factory() const; |
JSGraph* jsgraph() const { return jsgraph_; } |
+ CommonOperatorBuilder* common() const; |
MachineOperatorBuilder* machine() const; |
SimplifiedOperatorBuilder* simplified() { return &simplified_; } |