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

Unified Diff: runtime/vm/intermediate_language_x64.cc

Issue 10447133: FlowGraphCompiler is not a visitor any longer. Start consolidating shared code between the x64 and … (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 7 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_x64.cc
===================================================================
--- runtime/vm/intermediate_language_x64.cc (revision 8180)
+++ runtime/vm/intermediate_language_x64.cc (working copy)
@@ -57,6 +57,25 @@
}
+void GraphEntryInstr::EmitNativeCode(FlowGraphCompiler* compiler) {
+ // Nothing to do.
+}
+
+
+void JoinEntryInstr::EmitNativeCode(FlowGraphCompiler* compiler) {
+ __ Bind(compiler->GetBlockLabel(this));
+}
+
+
+void TargetEntryInstr::EmitNativeCode(FlowGraphCompiler* compiler) {
+ __ Bind(compiler->GetBlockLabel(this));
+ if (HasTryIndex()) {
+ compiler->AddExceptionHandler(try_index(),
+ compiler->assembler()->CodeSize());
+ }
+}
+
+
LocationSummary* ThrowInstr::MakeLocationSummary() const {
const int kNumInputs = 0;
const int kNumTemps = 0;

Powered by Google App Engine
This is Rietveld 408576698