Chromium Code Reviews| 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 |