| 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/v8.h" | 5 #include "src/v8.h" |
| 6 | 6 |
| 7 #include "src/disasm.h" | 7 #include "src/disasm.h" |
| 8 #include "src/disassembler.h" | 8 #include "src/disassembler.h" |
| 9 #include "src/heap/objects-visiting.h" | 9 #include "src/heap/objects-visiting.h" |
| 10 #include "src/jsregexp.h" | 10 #include "src/jsregexp.h" |
| (...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 167 case FOREIGN_TYPE: | 167 case FOREIGN_TYPE: |
| 168 Foreign::cast(this)->ForeignVerify(); | 168 Foreign::cast(this)->ForeignVerify(); |
| 169 break; | 169 break; |
| 170 case SHARED_FUNCTION_INFO_TYPE: | 170 case SHARED_FUNCTION_INFO_TYPE: |
| 171 SharedFunctionInfo::cast(this)->SharedFunctionInfoVerify(); | 171 SharedFunctionInfo::cast(this)->SharedFunctionInfoVerify(); |
| 172 break; | 172 break; |
| 173 case JS_MESSAGE_OBJECT_TYPE: | 173 case JS_MESSAGE_OBJECT_TYPE: |
| 174 JSMessageObject::cast(this)->JSMessageObjectVerify(); | 174 JSMessageObject::cast(this)->JSMessageObjectVerify(); |
| 175 break; | 175 break; |
| 176 case JS_ARRAY_BUFFER_TYPE: | 176 case JS_ARRAY_BUFFER_TYPE: |
| 177 case JS_SHARED_ARRAY_BUFFER_TYPE: |
| 177 JSArrayBuffer::cast(this)->JSArrayBufferVerify(); | 178 JSArrayBuffer::cast(this)->JSArrayBufferVerify(); |
| 178 break; | 179 break; |
| 179 case JS_TYPED_ARRAY_TYPE: | 180 case JS_TYPED_ARRAY_TYPE: |
| 181 case JS_SHARED_TYPED_ARRAY_TYPE: |
| 180 JSTypedArray::cast(this)->JSTypedArrayVerify(); | 182 JSTypedArray::cast(this)->JSTypedArrayVerify(); |
| 181 break; | 183 break; |
| 182 case JS_DATA_VIEW_TYPE: | 184 case JS_DATA_VIEW_TYPE: |
| 183 JSDataView::cast(this)->JSDataViewVerify(); | 185 JSDataView::cast(this)->JSDataViewVerify(); |
| 184 break; | 186 break; |
| 185 | 187 |
| 186 #define MAKE_STRUCT_CASE(NAME, Name, name) \ | 188 #define MAKE_STRUCT_CASE(NAME, Name, name) \ |
| 187 case NAME##_TYPE: \ | 189 case NAME##_TYPE: \ |
| 188 Name::cast(this)->Name##Verify(); \ | 190 Name::cast(this)->Name##Verify(); \ |
| 189 break; | 191 break; |
| (...skipping 1092 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1282 ? it.rinfo()->target_cell() | 1284 ? it.rinfo()->target_cell() |
| 1283 : it.rinfo()->target_object(); | 1285 : it.rinfo()->target_object(); |
| 1284 CHECK(!CanLeak(target, heap, skip_weak_cell)); | 1286 CHECK(!CanLeak(target, heap, skip_weak_cell)); |
| 1285 } | 1287 } |
| 1286 } | 1288 } |
| 1287 | 1289 |
| 1288 | 1290 |
| 1289 #endif // DEBUG | 1291 #endif // DEBUG |
| 1290 | 1292 |
| 1291 } } // namespace v8::internal | 1293 } } // namespace v8::internal |
| OLD | NEW |