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

Unified Diff: runtime/vm/isolate.cc

Issue 250883017: Collect samples during isolate startup (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 8 months 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
« no previous file with comments | « runtime/vm/dart.cc ('k') | runtime/vm/profiler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/isolate.cc
diff --git a/runtime/vm/isolate.cc b/runtime/vm/isolate.cc
index b96a0b89a11ac3ee4ea874474d82b59191e27400..b91c4c28f25dafe491c3085aba36c071cd48791e 100644
--- a/runtime/vm/isolate.cc
+++ b/runtime/vm/isolate.cc
@@ -383,6 +383,7 @@ void Isolate::SetCurrent(Isolate* current) {
#if defined(DEBUG)
CheckForDuplicateThreadState(thread_state);
#endif
+ ASSERT(thread_state != NULL);
Profiler::BeginExecution(current);
current->set_thread_state(thread_state);
current->set_vm_tag(VMTag::kVMTagId);
« no previous file with comments | « runtime/vm/dart.cc ('k') | runtime/vm/profiler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698