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

Unified Diff: runtime/vm/flow_graph_builder.cc

Issue 1992963002: Enable optimizer pipeline for DBC. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: 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_builder.cc
diff --git a/runtime/vm/flow_graph_builder.cc b/runtime/vm/flow_graph_builder.cc
index b9685854b9f24866daf0a5b243c1575c35c5d6d2..8d7bb798281f43cd83c8f73829b98acc8aa767ec 100644
--- a/runtime/vm/flow_graph_builder.cc
+++ b/runtime/vm/flow_graph_builder.cc
@@ -4605,15 +4605,7 @@ void FlowGraphBuilder::PruneUnreachable() {
void FlowGraphBuilder::Bailout(const char* reason) const {
- const Function& function = parsed_function_.function();
- Report::MessageF(Report::kBailout,
- Script::Handle(function.script()),
- function.token_pos(),
- Report::AtLocation,
- "FlowGraphBuilder Bailout: %s %s",
- String::Handle(function.name()).ToCString(),
- reason);
- UNREACHABLE();
+ parsed_function_.Bailout("FlowGraphBuilder", reason);
}
} // namespace dart

Powered by Google App Engine
This is Rietveld 408576698