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

Unified Diff: vm/base_isolate.h

Issue 11293163: Throw illegal argument exception when (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/runtime/
Patch Set: Created 8 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
« no previous file with comments | « no previous file | vm/dart_api_impl_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: vm/base_isolate.h
===================================================================
--- vm/base_isolate.h (revision 14802)
+++ vm/base_isolate.h (working copy)
@@ -80,7 +80,14 @@
#endif
}
+ void ResetNoGCScopeDepth() {
Ivan Posva 2012/11/13 08:12:46 As discussed in person we should try to avoid the
siva 2012/11/13 19:46:54 Done. Now a longjmp is done at the point of failu
#if defined(DEBUG)
+ ASSERT(no_gc_scope_depth_ > 0);
+ no_gc_scope_depth_ = 0;
+#endif
+ }
+
+#if defined(DEBUG)
static void AssertCurrent(BaseIsolate* isolate);
#endif
« no previous file with comments | « no previous file | vm/dart_api_impl_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698