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

Unified Diff: runtime/vm/flow_graph_compiler.cc

Issue 1992963002: Enable optimizer pipeline for DBC. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: address comments Created 4 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/flow_graph_compiler.cc
diff --git a/runtime/vm/flow_graph_compiler.cc b/runtime/vm/flow_graph_compiler.cc
index 93225db913ab93d2e03d6f8a43c062ae478c2da3..b708d64bf9965d2ed238d1104aebdf2048673430 100644
--- a/runtime/vm/flow_graph_compiler.cc
+++ b/runtime/vm/flow_graph_compiler.cc
@@ -644,15 +644,7 @@ void FlowGraphCompiler::VisitBlocks() {
void FlowGraphCompiler::Bailout(const char* reason) {
- const Function& function = parsed_function_.function();
- Report::MessageF(Report::kBailout,
- Script::Handle(function.script()),
- function.token_pos(),
- Report::AtLocation,
- "FlowGraphCompiler Bailout: %s %s",
- String::Handle(function.name()).ToCString(),
- reason);
- UNREACHABLE();
+ parsed_function_.Bailout("FlowGraphCompiler", reason);
}

Powered by Google App Engine
This is Rietveld 408576698