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

Unified Diff: runtime/vm/flow_graph_builder.cc

Issue 10389023: Fixed compilation time measurement, restructure some code. (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
« no previous file with comments | « runtime/vm/compiler.cc ('k') | runtime/vm/flow_graph_compiler_arm.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/flow_graph_builder.cc
===================================================================
--- runtime/vm/flow_graph_builder.cc (revision 7420)
+++ runtime/vm/flow_graph_builder.cc (working copy)
@@ -1182,7 +1182,7 @@
const Function& function = node->function();
if (function.IsNonImplicitClosureFunction()) {
- // The context scope may have already been set by the new non-optimizing
+ // The context scope may have already been set by the non-optimizing
// compiler. If it was not, set it here.
if (function.context_scope() == ContextScope::null()) {
const ContextScope& context_scope = ContextScope::ZoneHandle(
@@ -2456,7 +2456,6 @@
// Print the function ast before IL generation.
AstPrinter::PrintFunctionNodes(parsed_function());
}
- TimerScope timer(FLAG_compiler_stats, &CompilerStats::graphbuilder_timer);
// Compilation can be nested, preserve the computation-id.
Isolate* isolate = Isolate::Current();
const intptr_t prev_cid = isolate->computation_id();
« no previous file with comments | « runtime/vm/compiler.cc ('k') | runtime/vm/flow_graph_compiler_arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698