| OLD | NEW |
| 1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 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/objects.h" | 5 #include "src/objects.h" |
| 6 | 6 |
| 7 #include "src/bootstrapper.h" | 7 #include "src/bootstrapper.h" |
| 8 #include "src/disasm.h" | 8 #include "src/disasm.h" |
| 9 #include "src/disassembler.h" | 9 #include "src/disassembler.h" |
| 10 #include "src/field-type.h" | 10 #include "src/field-type.h" |
| (...skipping 904 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 915 void PromiseContainer::PromiseContainerVerify() { | 915 void PromiseContainer::PromiseContainerVerify() { |
| 916 CHECK(IsPromiseContainer()); | 916 CHECK(IsPromiseContainer()); |
| 917 thenable()->ObjectVerify(); | 917 thenable()->ObjectVerify(); |
| 918 then()->ObjectVerify(); | 918 then()->ObjectVerify(); |
| 919 resolve()->ObjectVerify(); | 919 resolve()->ObjectVerify(); |
| 920 reject()->ObjectVerify(); | 920 reject()->ObjectVerify(); |
| 921 before_debug_event()->ObjectVerify(); | 921 before_debug_event()->ObjectVerify(); |
| 922 after_debug_event()->ObjectVerify(); | 922 after_debug_event()->ObjectVerify(); |
| 923 } | 923 } |
| 924 | 924 |
| 925 void PromiseHandleInfo::PromiseHandleInfoVerify() { |
| 926 CHECK(IsPromiseHandleInfo()); |
| 927 value()->ObjectVerify(); |
| 928 tasks()->ObjectVerify(); |
| 929 deferreds()->ObjectVerify(); |
| 930 before_debug_event()->ObjectVerify(); |
| 931 after_debug_event()->ObjectVerify(); |
| 932 } |
| 933 |
| 925 void JSModuleNamespace::JSModuleNamespaceVerify() { | 934 void JSModuleNamespace::JSModuleNamespaceVerify() { |
| 926 CHECK(IsJSModuleNamespace()); | 935 CHECK(IsJSModuleNamespace()); |
| 927 module()->ObjectVerify(); | 936 module()->ObjectVerify(); |
| 928 } | 937 } |
| 929 | 938 |
| 930 void Module::ModuleVerify() { | 939 void Module::ModuleVerify() { |
| 931 Isolate* isolate = GetIsolate(); | 940 Isolate* isolate = GetIsolate(); |
| 932 CHECK(IsModule()); | 941 CHECK(IsModule()); |
| 933 CHECK(code()->IsSharedFunctionInfo() || code()->IsJSFunction()); | 942 CHECK(code()->IsSharedFunctionInfo() || code()->IsJSFunction()); |
| 934 code()->ObjectVerify(); | 943 code()->ObjectVerify(); |
| (...skipping 438 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1373 | 1382 |
| 1374 // Both are done at the same time. | 1383 // Both are done at the same time. |
| 1375 CHECK_EQ(new_it.done(), old_it.done()); | 1384 CHECK_EQ(new_it.done(), old_it.done()); |
| 1376 } | 1385 } |
| 1377 | 1386 |
| 1378 | 1387 |
| 1379 #endif // DEBUG | 1388 #endif // DEBUG |
| 1380 | 1389 |
| 1381 } // namespace internal | 1390 } // namespace internal |
| 1382 } // namespace v8 | 1391 } // namespace v8 |
| OLD | NEW |