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

Unified Diff: runtime/vm/flow_graph.cc

Issue 11975061: Removed loop depth info tracking at graph build time. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 11 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
« no previous file with comments | « runtime/vm/compiler.cc ('k') | runtime/vm/flow_graph_builder.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/flow_graph.cc
===================================================================
--- runtime/vm/flow_graph.cc (revision 17406)
+++ runtime/vm/flow_graph.cc (working copy)
@@ -925,9 +925,7 @@
} else {
// Create a join of the returns.
JoinEntryInstr* join =
- new JoinEntryInstr(++max_block_id_,
- CatchClauseNode::kInvalidTryIndex,
- caller_entry->loop_depth());
+ new JoinEntryInstr(++max_block_id_, CatchClauseNode::kInvalidTryIndex);
intptr_t count = inlining_context->NumExits();
for (intptr_t i = 0; i < count; ++i) {
inlining_context->LastInstructionAt(i)->Goto(join);
« no previous file with comments | « runtime/vm/compiler.cc ('k') | runtime/vm/flow_graph_builder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698