Index: src/compiler/js-generic-lowering.h |
diff --git a/src/compiler/js-generic-lowering.h b/src/compiler/js-generic-lowering.h |
index e3113e541dae33e38a7807ffdc6503b94a8a5df5..f1c0aa9a8eb219c3e5da45d234c21cd260cc26d9 100644 |
--- a/src/compiler/js-generic-lowering.h |
+++ b/src/compiler/js-generic-lowering.h |
@@ -9,8 +9,8 @@ |
#include "src/allocation.h" |
#include "src/compiler/graph.h" |
+#include "src/compiler/graph-reducer.h" |
#include "src/compiler/js-graph.h" |
-#include "src/compiler/lowering-builder.h" |
#include "src/compiler/opcodes.h" |
#include "src/unique.h" |
@@ -28,14 +28,13 @@ class MachineOperatorBuilder; |
class Linkage; |
// Lowers JS-level operators to runtime and IC calls in the "generic" case. |
-class JSGenericLowering : public LoweringBuilder { |
+class JSGenericLowering : public Reducer { |
public: |
JSGenericLowering(CompilationInfo* info, JSGraph* graph, |
- MachineOperatorBuilder* machine, |
- SourcePositionTable* source_positions); |
+ MachineOperatorBuilder* machine); |
virtual ~JSGenericLowering() {} |
- virtual void Lower(Node* node); |
+ virtual Reduction Reduce(Node* node); |
protected: |
// Dispatched depending on opcode. |