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 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
125 break; | 125 break; |
126 case EXTERNAL_DOUBLE_ARRAY_TYPE: | 126 case EXTERNAL_DOUBLE_ARRAY_TYPE: |
127 ExternalDoubleArray::cast(this)->ExternalDoubleArrayPrint(out); | 127 ExternalDoubleArray::cast(this)->ExternalDoubleArrayPrint(out); |
128 break; | 128 break; |
129 case FILLER_TYPE: | 129 case FILLER_TYPE: |
130 PrintF(out, "filler"); | 130 PrintF(out, "filler"); |
131 break; | 131 break; |
132 case JS_OBJECT_TYPE: // fall through | 132 case JS_OBJECT_TYPE: // fall through |
133 case JS_CONTEXT_EXTENSION_OBJECT_TYPE: | 133 case JS_CONTEXT_EXTENSION_OBJECT_TYPE: |
134 case JS_ARRAY_TYPE: | 134 case JS_ARRAY_TYPE: |
| 135 case JS_GENERATOR_OBJECT_TYPE: |
135 case JS_REGEXP_TYPE: | 136 case JS_REGEXP_TYPE: |
136 JSObject::cast(this)->JSObjectPrint(out); | 137 JSObject::cast(this)->JSObjectPrint(out); |
137 break; | 138 break; |
138 case ODDBALL_TYPE: | 139 case ODDBALL_TYPE: |
139 Oddball::cast(this)->to_string()->Print(out); | 140 Oddball::cast(this)->to_string()->Print(out); |
140 break; | 141 break; |
141 case JS_MODULE_TYPE: | 142 case JS_MODULE_TYPE: |
142 JSModule::cast(this)->JSModulePrint(out); | 143 JSModule::cast(this)->JSModulePrint(out); |
143 break; | 144 break; |
144 case JS_FUNCTION_TYPE: | 145 case JS_FUNCTION_TYPE: |
(...skipping 378 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
523 case EXTERNAL_UNSIGNED_INT_ARRAY_TYPE: | 524 case EXTERNAL_UNSIGNED_INT_ARRAY_TYPE: |
524 return "EXTERNAL_UNSIGNED_INT_ARRAY"; | 525 return "EXTERNAL_UNSIGNED_INT_ARRAY"; |
525 case EXTERNAL_FLOAT_ARRAY_TYPE: return "EXTERNAL_FLOAT_ARRAY"; | 526 case EXTERNAL_FLOAT_ARRAY_TYPE: return "EXTERNAL_FLOAT_ARRAY"; |
526 case EXTERNAL_DOUBLE_ARRAY_TYPE: return "EXTERNAL_DOUBLE_ARRAY"; | 527 case EXTERNAL_DOUBLE_ARRAY_TYPE: return "EXTERNAL_DOUBLE_ARRAY"; |
527 case FILLER_TYPE: return "FILLER"; | 528 case FILLER_TYPE: return "FILLER"; |
528 case JS_OBJECT_TYPE: return "JS_OBJECT"; | 529 case JS_OBJECT_TYPE: return "JS_OBJECT"; |
529 case JS_CONTEXT_EXTENSION_OBJECT_TYPE: return "JS_CONTEXT_EXTENSION_OBJECT"; | 530 case JS_CONTEXT_EXTENSION_OBJECT_TYPE: return "JS_CONTEXT_EXTENSION_OBJECT"; |
530 case ODDBALL_TYPE: return "ODDBALL"; | 531 case ODDBALL_TYPE: return "ODDBALL"; |
531 case JS_GLOBAL_PROPERTY_CELL_TYPE: return "JS_GLOBAL_PROPERTY_CELL"; | 532 case JS_GLOBAL_PROPERTY_CELL_TYPE: return "JS_GLOBAL_PROPERTY_CELL"; |
532 case SHARED_FUNCTION_INFO_TYPE: return "SHARED_FUNCTION_INFO"; | 533 case SHARED_FUNCTION_INFO_TYPE: return "SHARED_FUNCTION_INFO"; |
| 534 case JS_GENERATOR_OBJECT_TYPE: return "JS_GENERATOR_OBJECT"; |
533 case JS_MODULE_TYPE: return "JS_MODULE"; | 535 case JS_MODULE_TYPE: return "JS_MODULE"; |
534 case JS_FUNCTION_TYPE: return "JS_FUNCTION"; | 536 case JS_FUNCTION_TYPE: return "JS_FUNCTION"; |
535 case CODE_TYPE: return "CODE"; | 537 case CODE_TYPE: return "CODE"; |
536 case JS_ARRAY_TYPE: return "JS_ARRAY"; | 538 case JS_ARRAY_TYPE: return "JS_ARRAY"; |
537 case JS_PROXY_TYPE: return "JS_PROXY"; | 539 case JS_PROXY_TYPE: return "JS_PROXY"; |
538 case JS_WEAK_MAP_TYPE: return "JS_WEAK_MAP"; | 540 case JS_WEAK_MAP_TYPE: return "JS_WEAK_MAP"; |
539 case JS_REGEXP_TYPE: return "JS_REGEXP"; | 541 case JS_REGEXP_TYPE: return "JS_REGEXP"; |
540 case JS_VALUE_TYPE: return "JS_VALUE"; | 542 case JS_VALUE_TYPE: return "JS_VALUE"; |
541 case JS_GLOBAL_OBJECT_TYPE: return "JS_GLOBAL_OBJECT"; | 543 case JS_GLOBAL_OBJECT_TYPE: return "JS_GLOBAL_OBJECT"; |
542 case JS_BUILTINS_OBJECT_TYPE: return "JS_BUILTINS_OBJECT"; | 544 case JS_BUILTINS_OBJECT_TYPE: return "JS_BUILTINS_OBJECT"; |
(...skipping 642 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1185 } | 1187 } |
1186 } | 1188 } |
1187 PrintF(out, "\n"); | 1189 PrintF(out, "\n"); |
1188 } | 1190 } |
1189 | 1191 |
1190 | 1192 |
1191 #endif // OBJECT_PRINT | 1193 #endif // OBJECT_PRINT |
1192 | 1194 |
1193 | 1195 |
1194 } } // namespace v8::internal | 1196 } } // namespace v8::internal |
OLD | NEW |