| Index: runtime/vm/intermediate_language.h
|
| ===================================================================
|
| --- runtime/vm/intermediate_language.h (revision 8343)
|
| +++ runtime/vm/intermediate_language.h (working copy)
|
| @@ -14,7 +14,7 @@
|
| namespace dart {
|
|
|
| class BitVector;
|
| -class FlowGraphCompiler;
|
| +class FlowGraphCompilerShared;
|
| class FlowGraphVisitor;
|
| class LocalVariable;
|
| class LocationSummary;
|
| @@ -135,7 +135,7 @@
|
| virtual LocationSummary* MakeLocationSummary() const = 0;
|
|
|
| // TODO(fschneider): Make EmitNativeCode and locs const.
|
| - virtual void EmitNativeCode(FlowGraphCompiler* compiler) = 0;
|
| + virtual void EmitNativeCode(FlowGraphCompilerShared* compiler) = 0;
|
|
|
| static LocationSummary* MakeCallSummary();
|
|
|
| @@ -254,7 +254,7 @@
|
| virtual const char* DebugName() const { return #ShortName; } \
|
| virtual RawAbstractType* StaticType() const; \
|
| virtual LocationSummary* MakeLocationSummary() const; \
|
| - virtual void EmitNativeCode(FlowGraphCompiler* compiler);
|
| + virtual void EmitNativeCode(FlowGraphCompilerShared* compiler);
|
|
|
| // Functions defined in all concrete value classes.
|
| #define DECLARE_VALUE(ShortName) \
|
| @@ -1500,7 +1500,7 @@
|
| return NULL;
|
| }
|
|
|
| - virtual void EmitNativeCode(FlowGraphCompiler* compiler) {
|
| + virtual void EmitNativeCode(FlowGraphCompilerShared* compiler) {
|
| UNIMPLEMENTED();
|
| }
|
|
|
| @@ -1543,7 +1543,7 @@
|
| virtual intptr_t PredecessorCount() const = 0;
|
| virtual BlockEntryInstr* PredecessorAt(intptr_t index) const = 0;
|
| virtual void AddPredecessor(BlockEntryInstr* predecessor) = 0;
|
| - virtual void PrepareEntry(FlowGraphCompiler* compiler) = 0;
|
| + virtual void PrepareEntry(FlowGraphCompilerShared* compiler) = 0;
|
|
|
| intptr_t preorder_number() const { return preorder_number_; }
|
| void set_preorder_number(intptr_t number) { preorder_number_ = number; }
|
| @@ -1617,7 +1617,7 @@
|
|
|
| void AddCatchEntry(TargetEntryInstr* entry) { catch_entries_.Add(entry); }
|
|
|
| - virtual void PrepareEntry(FlowGraphCompiler* compiler);
|
| + virtual void PrepareEntry(FlowGraphCompilerShared* compiler);
|
|
|
| private:
|
| TargetEntryInstr* normal_entry_;
|
| @@ -1652,7 +1652,7 @@
|
| successor_ = instr;
|
| }
|
|
|
| - virtual void PrepareEntry(FlowGraphCompiler* compiler);
|
| + virtual void PrepareEntry(FlowGraphCompilerShared* compiler);
|
|
|
| private:
|
| ZoneGrowableArray<BlockEntryInstr*> predecessors_;
|
| @@ -1708,7 +1708,7 @@
|
| return try_index_;
|
| }
|
|
|
| - virtual void PrepareEntry(FlowGraphCompiler* compiler);
|
| + virtual void PrepareEntry(FlowGraphCompilerShared* compiler);
|
|
|
| private:
|
| BlockEntryInstr* predecessor_;
|
| @@ -1747,7 +1747,7 @@
|
| return computation()->locs();
|
| }
|
|
|
| - virtual void EmitNativeCode(FlowGraphCompiler* compiler) {
|
| + virtual void EmitNativeCode(FlowGraphCompilerShared* compiler) {
|
| computation()->EmitNativeCode(compiler);
|
| }
|
|
|
| @@ -1798,7 +1798,7 @@
|
| return computation()->locs();
|
| }
|
|
|
| - virtual void EmitNativeCode(FlowGraphCompiler* compiler);
|
| + virtual void EmitNativeCode(FlowGraphCompilerShared* compiler);
|
|
|
| private:
|
| intptr_t temp_index_;
|
| @@ -1826,7 +1826,7 @@
|
|
|
| virtual LocationSummary* MakeLocationSummary() const;
|
|
|
| - virtual void EmitNativeCode(FlowGraphCompiler* compiler);
|
| + virtual void EmitNativeCode(FlowGraphCompilerShared* compiler);
|
|
|
| private:
|
| const intptr_t token_index_;
|
| @@ -1864,7 +1864,7 @@
|
|
|
| virtual LocationSummary* MakeLocationSummary() const;
|
|
|
| - virtual void EmitNativeCode(FlowGraphCompiler* compiler);
|
| + virtual void EmitNativeCode(FlowGraphCompilerShared* compiler);
|
|
|
| private:
|
| const intptr_t token_index_;
|
| @@ -1910,7 +1910,7 @@
|
|
|
| virtual LocationSummary* MakeLocationSummary() const;
|
|
|
| - virtual void EmitNativeCode(FlowGraphCompiler* compiler);
|
| + virtual void EmitNativeCode(FlowGraphCompilerShared* compiler);
|
|
|
| private:
|
| const intptr_t token_index_;
|
| @@ -1956,7 +1956,7 @@
|
|
|
| virtual LocationSummary* MakeLocationSummary() const;
|
|
|
| - virtual void EmitNativeCode(FlowGraphCompiler* compiler);
|
| + virtual void EmitNativeCode(FlowGraphCompilerShared* compiler);
|
|
|
| private:
|
| Value* value_;
|
|
|