Index: runtime/vm/flow_graph_inliner.cc |
diff --git a/runtime/vm/flow_graph_inliner.cc b/runtime/vm/flow_graph_inliner.cc |
index d0d6b3eee4490e9066230452136bcf02b537f9fb..161ad0aba8807f4080936fb0d8fe809c48c41dd9 100644 |
--- a/runtime/vm/flow_graph_inliner.cc |
+++ b/runtime/vm/flow_graph_inliner.cc |
@@ -894,8 +894,8 @@ class CallSiteInliner : public ValueObject { |
&call_data->caller, &function, call); |
return true; |
} else { |
- error = isolate()->object_store()->sticky_error(); |
- isolate()->object_store()->clear_sticky_error(); |
+ error = thread()->sticky_error(); |
+ thread()->clear_sticky_error(); |
ASSERT(error.IsLanguageError()); |
if (LanguageError::Cast(error).kind() == Report::kBailout) { |