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

Unified Diff: runtime/vm/parser.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
« no previous file with comments | « runtime/vm/parser.h ('k') | runtime/vm/simulator_dbc.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/parser.cc
diff --git a/runtime/vm/parser.cc b/runtime/vm/parser.cc
index 7819cd780ac26f66bf7a1621d56cd8d5c8611bac..b48e58fe85745970b83f95fac208e636b6ef856e 100644
--- a/runtime/vm/parser.cc
+++ b/runtime/vm/parser.cc
@@ -170,6 +170,19 @@ void ParsedFunction::AddToGuardedFields(const Field* field) const {
}
+void ParsedFunction::Bailout(const char* origin, const char* reason) const {
+ Report::MessageF(Report::kBailout,
+ Script::Handle(function_.script()),
+ function_.token_pos(),
+ Report::AtLocation,
+ "%s Bailout in %s: %s",
+ origin,
+ String::Handle(function_.name()).ToCString(),
+ reason);
+ UNREACHABLE();
+}
+
+
LocalVariable* ParsedFunction::EnsureExpressionTemp() {
if (!has_expression_temp_var()) {
LocalVariable* temp =
« no previous file with comments | « runtime/vm/parser.h ('k') | runtime/vm/simulator_dbc.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698