Index: runtime/vm/flow_graph_inliner.cc |
=================================================================== |
--- runtime/vm/flow_graph_inliner.cc (revision 45386) |
+++ runtime/vm/flow_graph_inliner.cc (working copy) |
@@ -685,7 +685,11 @@ |
TimerScope timer(FLAG_compiler_stats, |
&CompilerStats::graphinliner_parse_timer, |
isolate()); |
- Compiler::EnsureUnoptimizedCode(Thread::Current(), function); |
+ const Error& error = Error::Handle(Z, |
+ Compiler::EnsureUnoptimizedCode(Thread::Current(), function)); |
+ if (!error.IsNull()) { |
+ Exceptions::PropagateError(error); |
+ } |
parsed_function = GetParsedFunction(function, &in_cache); |
} |