| Index: runtime/vm/flow_graph_inliner.cc
|
| diff --git a/runtime/vm/flow_graph_inliner.cc b/runtime/vm/flow_graph_inliner.cc
|
| index 09cc2c73e685bffc14745a7fcb21453397e9d0aa..5cda51fb889944fce7179769d34d9ec06e776588 100644
|
| --- a/runtime/vm/flow_graph_inliner.cc
|
| +++ b/runtime/vm/flow_graph_inliner.cc
|
| @@ -687,13 +687,6 @@ class CallSiteInliner : public ValueObject {
|
| ParsedFunction* parsed_function;
|
| {
|
| CSTAT_TIMER_SCOPE(thread(), graphinliner_parse_timer);
|
| - if (!Compiler::always_optimize()) {
|
| - const Error& error = Error::Handle(Z,
|
| - Compiler::EnsureUnoptimizedCode(Thread::Current(), function));
|
| - if (!error.IsNull()) {
|
| - Exceptions::PropagateError(error);
|
| - }
|
| - }
|
| parsed_function = GetParsedFunction(function, &in_cache);
|
| }
|
|
|
|
|