Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1493)

Unified Diff: runtime/vm/intermediate_language.h

Issue 10538024: Implemented missing instructions in ia32, more sharing, removed bailouts, enable optimiziations on … (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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_;

Powered by Google App Engine
This is Rietveld 408576698