Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(236)

Unified Diff: runtime/vm/object.cc

Issue 1414333014: Queueing fix, cleanups. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: d Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« runtime/vm/compiler.cc ('K') | « runtime/vm/compiler.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/object.cc
diff --git a/runtime/vm/object.cc b/runtime/vm/object.cc
index 0f2b324179effa9eead4e186d9d46bd8eb43beb4..8fe6d6f34104adc2a8a6243d9d17f5fc0e0c51c1 100644
--- a/runtime/vm/object.cc
+++ b/runtime/vm/object.cc
@@ -3117,6 +3117,7 @@ RawError* Class::EnsureIsFinalized(Thread* thread) const {
if (is_finalized()) {
return Error::null();
}
+ ASSERT(thread->IsMutatorThread());
ASSERT(thread != NULL);
const Error& error = Error::Handle(
thread->zone(), Compiler::CompileClass(*this));
« runtime/vm/compiler.cc ('K') | « runtime/vm/compiler.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698