Chromium Code Reviews| Index: runtime/vm/object_store.h |
| diff --git a/runtime/vm/object_store.h b/runtime/vm/object_store.h |
| index 09c24d736d9bc9c761defb1ae1df2aaa51066539..b6d5dfd41e434da98dae2524230726b95304ef28 100644 |
| --- a/runtime/vm/object_store.h |
| +++ b/runtime/vm/object_store.h |
| @@ -359,6 +359,8 @@ class ObjectStore { |
| RawError* sticky_error() const { return sticky_error_; } |
| void set_sticky_error(const Error& value) { |
| + // TODO(siva): Move sticky_error_ into thread specific area. |
|
siva
2015/11/14 01:44:38
TODO(asiva)
srdjan
2015/11/16 17:25:51
Done.
|
| + ASSERT(Thread::Current()->IsMutatorThread()); |
| ASSERT(!value.IsNull()); |
| sticky_error_ = value.raw(); |
| } |