diff options
Diffstat (limited to 'deps/v8/src/assert-scope.h')
-rw-r--r-- | deps/v8/src/assert-scope.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/deps/v8/src/assert-scope.h b/deps/v8/src/assert-scope.h index 981a037f132..acf76497925 100644 --- a/deps/v8/src/assert-scope.h +++ b/deps/v8/src/assert-scope.h @@ -139,6 +139,12 @@ typedef PerThreadAssertScopeDebugOnly<CODE_DEPENDENCY_CHANGE_ASSERT, false> typedef PerThreadAssertScopeDebugOnly<CODE_DEPENDENCY_CHANGE_ASSERT, true> AllowCodeDependencyChange; +class DisallowHeapAccess { + DisallowHeapAllocation no_heap_allocation_; + DisallowHandleAllocation no_handle_allocation_; + DisallowHandleDereference no_handle_dereference_; + DisallowCodeDependencyChange no_dependency_change_; +}; // Per-isolate assert scopes. |