| 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/jsregexp.h" | 9 #include "src/jsregexp.h" | 
| 10 #include "src/objects-visiting.h" | 10 #include "src/objects-visiting.h" | 
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 57   switch (instance_type) { | 57   switch (instance_type) { | 
| 58     case SYMBOL_TYPE: | 58     case SYMBOL_TYPE: | 
| 59       Symbol::cast(this)->SymbolPrint(out); | 59       Symbol::cast(this)->SymbolPrint(out); | 
| 60       break; | 60       break; | 
| 61     case MAP_TYPE: | 61     case MAP_TYPE: | 
| 62       Map::cast(this)->MapPrint(out); | 62       Map::cast(this)->MapPrint(out); | 
| 63       break; | 63       break; | 
| 64     case HEAP_NUMBER_TYPE: | 64     case HEAP_NUMBER_TYPE: | 
| 65       HeapNumber::cast(this)->HeapNumberPrint(out); | 65       HeapNumber::cast(this)->HeapNumberPrint(out); | 
| 66       break; | 66       break; | 
| 67     case MUTABLE_HEAP_NUMBER_TYPE: |  | 
| 68       PrintF(out, "<mutable "); |  | 
| 69       HeapNumber::cast(this)->HeapNumberPrint(out); |  | 
| 70       PrintF(out, ">"); |  | 
| 71       break; |  | 
| 72     case FIXED_DOUBLE_ARRAY_TYPE: | 67     case FIXED_DOUBLE_ARRAY_TYPE: | 
| 73       FixedDoubleArray::cast(this)->FixedDoubleArrayPrint(out); | 68       FixedDoubleArray::cast(this)->FixedDoubleArrayPrint(out); | 
| 74       break; | 69       break; | 
| 75     case CONSTANT_POOL_ARRAY_TYPE: | 70     case CONSTANT_POOL_ARRAY_TYPE: | 
| 76       ConstantPoolArray::cast(this)->ConstantPoolArrayPrint(out); | 71       ConstantPoolArray::cast(this)->ConstantPoolArrayPrint(out); | 
| 77       break; | 72       break; | 
| 78     case FIXED_ARRAY_TYPE: | 73     case FIXED_ARRAY_TYPE: | 
| 79       FixedArray::cast(this)->FixedArrayPrint(out); | 74       FixedArray::cast(this)->FixedArrayPrint(out); | 
| 80       break; | 75       break; | 
| 81     case BYTE_ARRAY_TYPE: | 76     case BYTE_ARRAY_TYPE: | 
| (...skipping 1178 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 1260     } | 1255     } | 
| 1261   } | 1256   } | 
| 1262   PrintF(out, "\n"); | 1257   PrintF(out, "\n"); | 
| 1263 } | 1258 } | 
| 1264 | 1259 | 
| 1265 | 1260 | 
| 1266 #endif  // OBJECT_PRINT | 1261 #endif  // OBJECT_PRINT | 
| 1267 | 1262 | 
| 1268 | 1263 | 
| 1269 } }  // namespace v8::internal | 1264 } }  // namespace v8::internal | 
| OLD | NEW | 
|---|