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

Unified Diff: runtime/vm/intermediate_language.cc

Issue 12412013: Add pass to remove empty blocks and recompute fall-through targets. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 9 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.cc
diff --git a/runtime/vm/intermediate_language.cc b/runtime/vm/intermediate_language.cc
index b8423951c07f6b68378be728f2426b6d7492f38d..40300289f755dd02f357971572cb69af70d9e761 100644
--- a/runtime/vm/intermediate_language.cc
+++ b/runtime/vm/intermediate_language.cc
@@ -1336,7 +1336,7 @@ void GraphEntryInstr::PrepareEntry(FlowGraphCompiler* compiler) {
void JoinEntryInstr::PrepareEntry(FlowGraphCompiler* compiler) {
- __ Bind(compiler->GetBlockLabel(this));
+ __ Bind(compiler->GetJumpLabel(this));
if (HasParallelMove()) {
compiler->parallel_move_resolver()->EmitNativeCode(parallel_move());
}
@@ -1344,7 +1344,7 @@ void JoinEntryInstr::PrepareEntry(FlowGraphCompiler* compiler) {
void TargetEntryInstr::PrepareEntry(FlowGraphCompiler* compiler) {
- __ Bind(compiler->GetBlockLabel(this));
+ __ Bind(compiler->GetJumpLabel(this));
if (IsCatchEntry()) {
compiler->AddExceptionHandler(catch_try_index(),
try_index(),

Powered by Google App Engine
This is Rietveld 408576698