| 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 =
|
|
|