OLD | NEW |
1 // Copyright 2006-2008 the V8 project authors. All rights reserved. | 1 // Copyright 2006-2008 the V8 project authors. All rights reserved. |
2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
4 // met: | 4 // met: |
5 // | 5 // |
6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
110 break; | 110 break; |
111 case FIXED_ARRAY_TYPE: | 111 case FIXED_ARRAY_TYPE: |
112 FixedArray::cast(this)->FixedArrayPrint(); | 112 FixedArray::cast(this)->FixedArrayPrint(); |
113 break; | 113 break; |
114 case BYTE_ARRAY_TYPE: | 114 case BYTE_ARRAY_TYPE: |
115 ByteArray::cast(this)->ByteArrayPrint(); | 115 ByteArray::cast(this)->ByteArrayPrint(); |
116 break; | 116 break; |
117 case PIXEL_ARRAY_TYPE: | 117 case PIXEL_ARRAY_TYPE: |
118 PixelArray::cast(this)->PixelArrayPrint(); | 118 PixelArray::cast(this)->PixelArrayPrint(); |
119 break; | 119 break; |
| 120 case EXTERNAL_BYTE_ARRAY_TYPE: |
| 121 ExternalByteArray::cast(this)->ExternalByteArrayPrint(); |
| 122 break; |
| 123 case EXTERNAL_UNSIGNED_BYTE_ARRAY_TYPE: |
| 124 ExternalUnsignedByteArray::cast(this)->ExternalUnsignedByteArrayPrint(); |
| 125 break; |
| 126 case EXTERNAL_SHORT_ARRAY_TYPE: |
| 127 ExternalShortArray::cast(this)->ExternalShortArrayPrint(); |
| 128 break; |
| 129 case EXTERNAL_UNSIGNED_SHORT_ARRAY_TYPE: |
| 130 ExternalUnsignedShortArray::cast(this)->ExternalUnsignedShortArrayPrint(); |
| 131 break; |
| 132 case EXTERNAL_INT_ARRAY_TYPE: |
| 133 ExternalIntArray::cast(this)->ExternalIntArrayPrint(); |
| 134 break; |
| 135 case EXTERNAL_UNSIGNED_INT_ARRAY_TYPE: |
| 136 ExternalUnsignedIntArray::cast(this)->ExternalUnsignedIntArrayPrint(); |
| 137 break; |
| 138 case EXTERNAL_FLOAT_ARRAY_TYPE: |
| 139 ExternalFloatArray::cast(this)->ExternalFloatArrayPrint(); |
| 140 break; |
120 case FILLER_TYPE: | 141 case FILLER_TYPE: |
121 PrintF("filler"); | 142 PrintF("filler"); |
122 break; | 143 break; |
123 case JS_OBJECT_TYPE: // fall through | 144 case JS_OBJECT_TYPE: // fall through |
124 case JS_CONTEXT_EXTENSION_OBJECT_TYPE: | 145 case JS_CONTEXT_EXTENSION_OBJECT_TYPE: |
125 case JS_ARRAY_TYPE: | 146 case JS_ARRAY_TYPE: |
126 case JS_REGEXP_TYPE: | 147 case JS_REGEXP_TYPE: |
127 JSObject::cast(this)->JSObjectPrint(); | 148 JSObject::cast(this)->JSObjectPrint(); |
128 break; | 149 break; |
129 case ODDBALL_TYPE: | 150 case ODDBALL_TYPE: |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
189 break; | 210 break; |
190 case FIXED_ARRAY_TYPE: | 211 case FIXED_ARRAY_TYPE: |
191 FixedArray::cast(this)->FixedArrayVerify(); | 212 FixedArray::cast(this)->FixedArrayVerify(); |
192 break; | 213 break; |
193 case BYTE_ARRAY_TYPE: | 214 case BYTE_ARRAY_TYPE: |
194 ByteArray::cast(this)->ByteArrayVerify(); | 215 ByteArray::cast(this)->ByteArrayVerify(); |
195 break; | 216 break; |
196 case PIXEL_ARRAY_TYPE: | 217 case PIXEL_ARRAY_TYPE: |
197 PixelArray::cast(this)->PixelArrayVerify(); | 218 PixelArray::cast(this)->PixelArrayVerify(); |
198 break; | 219 break; |
| 220 case EXTERNAL_BYTE_ARRAY_TYPE: |
| 221 ExternalByteArray::cast(this)->ExternalByteArrayVerify(); |
| 222 break; |
| 223 case EXTERNAL_UNSIGNED_BYTE_ARRAY_TYPE: |
| 224 ExternalUnsignedByteArray::cast(this)->ExternalUnsignedByteArrayVerify(); |
| 225 break; |
| 226 case EXTERNAL_SHORT_ARRAY_TYPE: |
| 227 ExternalShortArray::cast(this)->ExternalShortArrayVerify(); |
| 228 break; |
| 229 case EXTERNAL_UNSIGNED_SHORT_ARRAY_TYPE: |
| 230 ExternalUnsignedShortArray::cast(this)-> |
| 231 ExternalUnsignedShortArrayVerify(); |
| 232 break; |
| 233 case EXTERNAL_INT_ARRAY_TYPE: |
| 234 ExternalIntArray::cast(this)->ExternalIntArrayVerify(); |
| 235 break; |
| 236 case EXTERNAL_UNSIGNED_INT_ARRAY_TYPE: |
| 237 ExternalUnsignedIntArray::cast(this)->ExternalUnsignedIntArrayVerify(); |
| 238 break; |
| 239 case EXTERNAL_FLOAT_ARRAY_TYPE: |
| 240 ExternalFloatArray::cast(this)->ExternalFloatArrayVerify(); |
| 241 break; |
199 case CODE_TYPE: | 242 case CODE_TYPE: |
200 Code::cast(this)->CodeVerify(); | 243 Code::cast(this)->CodeVerify(); |
201 break; | 244 break; |
202 case ODDBALL_TYPE: | 245 case ODDBALL_TYPE: |
203 Oddball::cast(this)->OddballVerify(); | 246 Oddball::cast(this)->OddballVerify(); |
204 break; | 247 break; |
205 case JS_OBJECT_TYPE: | 248 case JS_OBJECT_TYPE: |
206 case JS_CONTEXT_EXTENSION_OBJECT_TYPE: | 249 case JS_CONTEXT_EXTENSION_OBJECT_TYPE: |
207 JSObject::cast(this)->JSObjectVerify(); | 250 JSObject::cast(this)->JSObjectVerify(); |
208 break; | 251 break; |
(...skipping 1080 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1289 } | 1332 } |
1290 current = hash; | 1333 current = hash; |
1291 } | 1334 } |
1292 return true; | 1335 return true; |
1293 } | 1336 } |
1294 | 1337 |
1295 | 1338 |
1296 #endif // DEBUG | 1339 #endif // DEBUG |
1297 | 1340 |
1298 } } // namespace v8::internal | 1341 } } // namespace v8::internal |
OLD | NEW |