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

Unified Diff: runtime/vm/flow_graph_inliner.cc

Issue 1291803009: Enable concurrent optimization test after migrating scopes to Thread* (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Update ASSERT in LongJumpScope. Created 5 years, 4 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/flow_graph_compiler.cc ('k') | runtime/vm/isolate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/flow_graph_inliner.cc
diff --git a/runtime/vm/flow_graph_inliner.cc b/runtime/vm/flow_graph_inliner.cc
index a646017e24c8df6965c0604a3b3233c4da184641..d9f591920cb0bc654e77be964f64fd1713ac0569 100644
--- a/runtime/vm/flow_graph_inliner.cc
+++ b/runtime/vm/flow_graph_inliner.cc
@@ -687,7 +687,7 @@ class CallSiteInliner : public ValueObject {
bool in_cache;
ParsedFunction* parsed_function;
{
- CSTAT_TIMER_SCOPE(isolate(), graphinliner_parse_timer);
+ CSTAT_TIMER_SCOPE(thread(), graphinliner_parse_timer);
if (!Compiler::always_optimize()) {
const Error& error = Error::Handle(Z,
Compiler::EnsureUnoptimizedCode(Thread::Current(), function));
@@ -713,7 +713,7 @@ class CallSiteInliner : public ValueObject {
builder.SetInitialBlockId(caller_graph_->max_block_id());
FlowGraph* callee_graph;
{
- CSTAT_TIMER_SCOPE(isolate(), graphinliner_build_timer);
+ CSTAT_TIMER_SCOPE(thread(), graphinliner_build_timer);
callee_graph = builder.BuildGraph();
}
@@ -767,7 +767,7 @@ class CallSiteInliner : public ValueObject {
block_scheduler.AssignEdgeWeights();
{
- CSTAT_TIMER_SCOPE(isolate(), graphinliner_ssa_timer);
+ CSTAT_TIMER_SCOPE(thread(), graphinliner_ssa_timer);
// Compute SSA on the callee graph, catching bailouts.
callee_graph->ComputeSSA(caller_graph_->max_virtual_register_number(),
param_stubs);
@@ -775,7 +775,7 @@ class CallSiteInliner : public ValueObject {
}
{
- CSTAT_TIMER_SCOPE(isolate(), graphinliner_opt_timer);
+ CSTAT_TIMER_SCOPE(thread(), graphinliner_opt_timer);
// TODO(zerny): Do more optimization passes on the callee graph.
FlowGraphOptimizer optimizer(callee_graph);
if (Compiler::always_optimize()) {
@@ -956,7 +956,7 @@ class CallSiteInliner : public ValueObject {
}
void InlineCall(InlinedCallData* call_data) {
- CSTAT_TIMER_SCOPE(Isolate::Current(), graphinliner_subst_timer);
+ CSTAT_TIMER_SCOPE(Thread::Current(), graphinliner_subst_timer);
FlowGraph* callee_graph = call_data->callee_graph;
TargetEntryInstr* callee_entry =
callee_graph->graph_entry()->normal_entry();
« no previous file with comments | « runtime/vm/flow_graph_compiler.cc ('k') | runtime/vm/isolate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698