| Index: src/compiler/js-generic-lowering.h
|
| diff --git a/src/compiler/js-generic-lowering.h b/src/compiler/js-generic-lowering.h
|
| index f1c0aa9a8eb219c3e5da45d234c21cd260cc26d9..7112e4f08657fb38b41914966ec92448f124712d 100644
|
| --- a/src/compiler/js-generic-lowering.h
|
| +++ b/src/compiler/js-generic-lowering.h
|
| @@ -10,6 +10,7 @@
|
| #include "src/allocation.h"
|
| #include "src/compiler/graph.h"
|
| #include "src/compiler/graph-reducer.h"
|
| +#include "src/compiler/js-context-specialization.h"
|
| #include "src/compiler/js-graph.h"
|
| #include "src/compiler/opcodes.h"
|
| #include "src/unique.h"
|
| @@ -30,8 +31,8 @@ class Linkage;
|
| // Lowers JS-level operators to runtime and IC calls in the "generic" case.
|
| class JSGenericLowering : public Reducer {
|
| public:
|
| - JSGenericLowering(CompilationInfo* info, JSGraph* graph,
|
| - MachineOperatorBuilder* machine);
|
| + JSGenericLowering(JSGraph* graph, JSContextSpecializer* spec,
|
| + Linkage* linkage, MachineOperatorBuilder* machine);
|
| virtual ~JSGenericLowering() {}
|
|
|
| virtual Reduction Reduce(Node* node);
|
| @@ -64,13 +65,12 @@ class JSGenericLowering : public Reducer {
|
| JSGraph* jsgraph() const { return jsgraph_; }
|
| Graph* graph() const { return jsgraph()->graph(); }
|
| Linkage* linkage() const { return linkage_; }
|
| - CompilationInfo* info() const { return info_; }
|
| CommonOperatorBuilder* common() const { return jsgraph()->common(); }
|
| MachineOperatorBuilder* machine() const { return machine_; }
|
|
|
| private:
|
| - CompilationInfo* info_;
|
| JSGraph* jsgraph_;
|
| + JSContextSpecializer* spec_;
|
| Linkage* linkage_;
|
| MachineOperatorBuilder* machine_;
|
| SetOncePointer<Node> centrystub_constant_;
|
|
|