OLD | NEW |
1 // Copyright 2014 the V8 project authors. All rights reserved. | 1 // Copyright 2014 the V8 project authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "src/assert-scope.h" | 5 #include "src/assert-scope.h" |
6 | 6 |
7 #include "src/base/lazy-instance.h" | 7 #include "src/base/lazy-instance.h" |
8 #include "src/base/platform/platform.h" | 8 #include "src/base/platform/platform.h" |
9 #include "src/debug.h" | 9 #include "src/debug/debug.h" |
10 #include "src/isolate.h" | 10 #include "src/isolate.h" |
11 #include "src/utils.h" | 11 #include "src/utils.h" |
12 | 12 |
13 namespace v8 { | 13 namespace v8 { |
14 namespace internal { | 14 namespace internal { |
15 | 15 |
16 namespace { | 16 namespace { |
17 | 17 |
18 struct PerThreadAssertKeyConstructTrait final { | 18 struct PerThreadAssertKeyConstructTrait final { |
19 static void Construct(base::Thread::LocalStorageKey* key) { | 19 static void Construct(base::Thread::LocalStorageKey* key) { |
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
147 template class PerIsolateAssertScope<JAVASCRIPT_EXECUTION_THROWS, true>; | 147 template class PerIsolateAssertScope<JAVASCRIPT_EXECUTION_THROWS, true>; |
148 template class PerIsolateAssertScope<ALLOCATION_FAILURE_ASSERT, false>; | 148 template class PerIsolateAssertScope<ALLOCATION_FAILURE_ASSERT, false>; |
149 template class PerIsolateAssertScope<ALLOCATION_FAILURE_ASSERT, true>; | 149 template class PerIsolateAssertScope<ALLOCATION_FAILURE_ASSERT, true>; |
150 template class PerIsolateAssertScope<DEOPTIMIZATION_ASSERT, false>; | 150 template class PerIsolateAssertScope<DEOPTIMIZATION_ASSERT, false>; |
151 template class PerIsolateAssertScope<DEOPTIMIZATION_ASSERT, true>; | 151 template class PerIsolateAssertScope<DEOPTIMIZATION_ASSERT, true>; |
152 template class PerIsolateAssertScope<COMPILATION_ASSERT, false>; | 152 template class PerIsolateAssertScope<COMPILATION_ASSERT, false>; |
153 template class PerIsolateAssertScope<COMPILATION_ASSERT, true>; | 153 template class PerIsolateAssertScope<COMPILATION_ASSERT, true>; |
154 | 154 |
155 } // namespace internal | 155 } // namespace internal |
156 } // namespace v8 | 156 } // namespace v8 |
OLD | NEW |