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 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
96 Code::cast(this)->CodeVerify(); | 96 Code::cast(this)->CodeVerify(); |
97 break; | 97 break; |
98 case ODDBALL_TYPE: | 98 case ODDBALL_TYPE: |
99 Oddball::cast(this)->OddballVerify(); | 99 Oddball::cast(this)->OddballVerify(); |
100 break; | 100 break; |
101 case JS_OBJECT_TYPE: | 101 case JS_OBJECT_TYPE: |
102 case JS_API_OBJECT_TYPE: | 102 case JS_API_OBJECT_TYPE: |
103 case JS_SPECIAL_API_OBJECT_TYPE: | 103 case JS_SPECIAL_API_OBJECT_TYPE: |
104 case JS_CONTEXT_EXTENSION_OBJECT_TYPE: | 104 case JS_CONTEXT_EXTENSION_OBJECT_TYPE: |
105 case JS_PROMISE_TYPE: | 105 case JS_PROMISE_TYPE: |
| 106 case JS_WASM_TYPE: |
106 JSObject::cast(this)->JSObjectVerify(); | 107 JSObject::cast(this)->JSObjectVerify(); |
107 break; | 108 break; |
108 case JS_GENERATOR_OBJECT_TYPE: | 109 case JS_GENERATOR_OBJECT_TYPE: |
109 JSGeneratorObject::cast(this)->JSGeneratorObjectVerify(); | 110 JSGeneratorObject::cast(this)->JSGeneratorObjectVerify(); |
110 break; | 111 break; |
111 case JS_MODULE_TYPE: | 112 case JS_MODULE_TYPE: |
112 JSModule::cast(this)->JSModuleVerify(); | 113 JSModule::cast(this)->JSModuleVerify(); |
113 break; | 114 break; |
114 case JS_VALUE_TYPE: | 115 case JS_VALUE_TYPE: |
115 JSValue::cast(this)->JSValueVerify(); | 116 JSValue::cast(this)->JSValueVerify(); |
(...skipping 1198 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1314 | 1315 |
1315 // Both are done at the same time. | 1316 // Both are done at the same time. |
1316 CHECK_EQ(new_it.done(), old_it.done()); | 1317 CHECK_EQ(new_it.done(), old_it.done()); |
1317 } | 1318 } |
1318 | 1319 |
1319 | 1320 |
1320 #endif // DEBUG | 1321 #endif // DEBUG |
1321 | 1322 |
1322 } // namespace internal | 1323 } // namespace internal |
1323 } // namespace v8 | 1324 } // namespace v8 |
OLD | NEW |