| Index: src/compiler/simplified-operator-reducer.h
|
| diff --git a/src/compiler/simplified-operator-reducer.h b/src/compiler/simplified-operator-reducer.h
|
| index 32f49adc56e79b922ca6182ca38f47fe488ece63..88e9311e530429134405398a1d81e2b949dac805 100644
|
| --- a/src/compiler/simplified-operator-reducer.h
|
| +++ b/src/compiler/simplified-operator-reducer.h
|
| @@ -6,6 +6,7 @@
|
| #define V8_COMPILER_SIMPLIFIED_OPERATOR_REDUCER_H_
|
|
|
| #include "src/compiler/graph-reducer.h"
|
| +#include "src/compiler/simplified-operator.h"
|
|
|
| namespace v8 {
|
| namespace internal {
|
| @@ -21,7 +22,7 @@ class MachineOperatorBuilder;
|
|
|
| class SimplifiedOperatorReducer FINAL : public Reducer {
|
| public:
|
| - explicit SimplifiedOperatorReducer(JSGraph* jsgraph) : jsgraph_(jsgraph) {}
|
| + explicit SimplifiedOperatorReducer(JSGraph* jsgraph);
|
| virtual ~SimplifiedOperatorReducer();
|
|
|
| virtual Reduction Reduce(Node* node) OVERRIDE;
|
| @@ -40,8 +41,10 @@ class SimplifiedOperatorReducer FINAL : public Reducer {
|
| Factory* factory() const;
|
| JSGraph* jsgraph() const { return jsgraph_; }
|
| MachineOperatorBuilder* machine() const;
|
| + SimplifiedOperatorBuilder* simplified() { return &simplified_; }
|
|
|
| JSGraph* jsgraph_;
|
| + SimplifiedOperatorBuilder simplified_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(SimplifiedOperatorReducer);
|
| };
|
|
|