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/macro-assembler.h" | 10 #include "src/macro-assembler.h" |
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
89 #undef VERIFY_TYPED_ARRAY | 89 #undef VERIFY_TYPED_ARRAY |
90 | 90 |
91 case CODE_TYPE: | 91 case CODE_TYPE: |
92 Code::cast(this)->CodeVerify(); | 92 Code::cast(this)->CodeVerify(); |
93 break; | 93 break; |
94 case ODDBALL_TYPE: | 94 case ODDBALL_TYPE: |
95 Oddball::cast(this)->OddballVerify(); | 95 Oddball::cast(this)->OddballVerify(); |
96 break; | 96 break; |
97 case JS_OBJECT_TYPE: | 97 case JS_OBJECT_TYPE: |
98 case JS_CONTEXT_EXTENSION_OBJECT_TYPE: | 98 case JS_CONTEXT_EXTENSION_OBJECT_TYPE: |
| 99 case JS_PROMISE_TYPE: |
99 JSObject::cast(this)->JSObjectVerify(); | 100 JSObject::cast(this)->JSObjectVerify(); |
100 break; | 101 break; |
101 case JS_GENERATOR_OBJECT_TYPE: | 102 case JS_GENERATOR_OBJECT_TYPE: |
102 JSGeneratorObject::cast(this)->JSGeneratorObjectVerify(); | 103 JSGeneratorObject::cast(this)->JSGeneratorObjectVerify(); |
103 break; | 104 break; |
104 case JS_MODULE_TYPE: | 105 case JS_MODULE_TYPE: |
105 JSModule::cast(this)->JSModuleVerify(); | 106 JSModule::cast(this)->JSModuleVerify(); |
106 break; | 107 break; |
107 case JS_VALUE_TYPE: | 108 case JS_VALUE_TYPE: |
108 JSValue::cast(this)->JSValueVerify(); | 109 JSValue::cast(this)->JSValueVerify(); |
(...skipping 1200 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1309 | 1310 |
1310 // Both are done at the same time. | 1311 // Both are done at the same time. |
1311 CHECK_EQ(new_it.done(), old_it.done()); | 1312 CHECK_EQ(new_it.done(), old_it.done()); |
1312 } | 1313 } |
1313 | 1314 |
1314 | 1315 |
1315 #endif // DEBUG | 1316 #endif // DEBUG |
1316 | 1317 |
1317 } // namespace internal | 1318 } // namespace internal |
1318 } // namespace v8 | 1319 } // namespace v8 |
OLD | NEW |