| Index: src/compiler/js-graph.h
|
| diff --git a/src/compiler/js-graph.h b/src/compiler/js-graph.h
|
| index 2f5ebd9ce9cd66ee6569d6a2ca3e45cb76ba514f..761b0dffe1bc6dd4ebee68ad9206d4fef464bdbc 100644
|
| --- a/src/compiler/js-graph.h
|
| +++ b/src/compiler/js-graph.h
|
| @@ -23,9 +23,10 @@ class Typer;
|
| // constants, and various helper methods.
|
| class JSGraph : public ZoneObject {
|
| public:
|
| - JSGraph(Graph* graph, CommonOperatorBuilder* common,
|
| + JSGraph(Isolate* isolate, Graph* graph, CommonOperatorBuilder* common,
|
| JSOperatorBuilder* javascript, MachineOperatorBuilder* machine)
|
| - : graph_(graph),
|
| + : isolate_(isolate),
|
| + graph_(graph),
|
| common_(common),
|
| javascript_(javascript),
|
| machine_(machine),
|
| @@ -113,17 +114,18 @@ class JSGraph : public ZoneObject {
|
| // cannot deopt.
|
| Node* EmptyFrameState();
|
|
|
| - JSOperatorBuilder* javascript() { return javascript_; }
|
| - CommonOperatorBuilder* common() { return common_; }
|
| - MachineOperatorBuilder* machine() { return machine_; }
|
| - Graph* graph() { return graph_; }
|
| - Zone* zone() { return graph()->zone(); }
|
| - Isolate* isolate() { return zone()->isolate(); }
|
| - Factory* factory() { return isolate()->factory(); }
|
| + JSOperatorBuilder* javascript() const { return javascript_; }
|
| + CommonOperatorBuilder* common() const { return common_; }
|
| + MachineOperatorBuilder* machine() const { return machine_; }
|
| + Graph* graph() const { return graph_; }
|
| + Zone* zone() const { return graph()->zone(); }
|
| + Isolate* isolate() const { return isolate_; }
|
| + Factory* factory() const { return isolate()->factory(); }
|
|
|
| void GetCachedNodes(NodeVector* nodes);
|
|
|
| private:
|
| + Isolate* isolate_;
|
| Graph* graph_;
|
| CommonOperatorBuilder* common_;
|
| JSOperatorBuilder* javascript_;
|
|
|