OLD | NEW |
---|---|
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 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 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
85 switch (instance_type) { | 85 switch (instance_type) { |
86 case SYMBOL_TYPE: | 86 case SYMBOL_TYPE: |
87 Symbol::cast(this)->SymbolPrint(out); | 87 Symbol::cast(this)->SymbolPrint(out); |
88 break; | 88 break; |
89 case MAP_TYPE: | 89 case MAP_TYPE: |
90 Map::cast(this)->MapPrint(out); | 90 Map::cast(this)->MapPrint(out); |
91 break; | 91 break; |
92 case HEAP_NUMBER_TYPE: | 92 case HEAP_NUMBER_TYPE: |
93 HeapNumber::cast(this)->HeapNumberPrint(out); | 93 HeapNumber::cast(this)->HeapNumberPrint(out); |
94 break; | 94 break; |
95 case MUTABLE_HEAP_NUMBER_TYPE: | |
Igor Sheludko
2014/03/27 11:30:16
I think you can join this case with HEAP_NUMBER_TY
| |
96 HeapNumber::cast(this)->HeapNumberPrint(out); | |
97 break; | |
95 case FIXED_DOUBLE_ARRAY_TYPE: | 98 case FIXED_DOUBLE_ARRAY_TYPE: |
96 FixedDoubleArray::cast(this)->FixedDoubleArrayPrint(out); | 99 FixedDoubleArray::cast(this)->FixedDoubleArrayPrint(out); |
97 break; | 100 break; |
98 case CONSTANT_POOL_ARRAY_TYPE: | 101 case CONSTANT_POOL_ARRAY_TYPE: |
99 ConstantPoolArray::cast(this)->ConstantPoolArrayPrint(out); | 102 ConstantPoolArray::cast(this)->ConstantPoolArrayPrint(out); |
100 break; | 103 break; |
101 case FIXED_ARRAY_TYPE: | 104 case FIXED_ARRAY_TYPE: |
102 FixedArray::cast(this)->FixedArrayPrint(out); | 105 FixedArray::cast(this)->FixedArrayPrint(out); |
103 break; | 106 break; |
104 case BYTE_ARRAY_TYPE: | 107 case BYTE_ARRAY_TYPE: |
(...skipping 1125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1230 } | 1233 } |
1231 } | 1234 } |
1232 PrintF(out, "\n"); | 1235 PrintF(out, "\n"); |
1233 } | 1236 } |
1234 | 1237 |
1235 | 1238 |
1236 #endif // OBJECT_PRINT | 1239 #endif // OBJECT_PRINT |
1237 | 1240 |
1238 | 1241 |
1239 } } // namespace v8::internal | 1242 } } // namespace v8::internal |
OLD | NEW |