OLD | NEW |
1 // Copyright 2010 the V8 project authors. All rights reserved. | 1 // Copyright 2010 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 377 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
388 case SHARED_FUNCTION_INFO_TYPE: return "SHARED_FUNCTION_INFO"; | 388 case SHARED_FUNCTION_INFO_TYPE: return "SHARED_FUNCTION_INFO"; |
389 case JS_FUNCTION_TYPE: return "JS_FUNCTION"; | 389 case JS_FUNCTION_TYPE: return "JS_FUNCTION"; |
390 case CODE_TYPE: return "CODE"; | 390 case CODE_TYPE: return "CODE"; |
391 case JS_ARRAY_TYPE: return "JS_ARRAY"; | 391 case JS_ARRAY_TYPE: return "JS_ARRAY"; |
392 case JS_REGEXP_TYPE: return "JS_REGEXP"; | 392 case JS_REGEXP_TYPE: return "JS_REGEXP"; |
393 case JS_VALUE_TYPE: return "JS_VALUE"; | 393 case JS_VALUE_TYPE: return "JS_VALUE"; |
394 case JS_GLOBAL_OBJECT_TYPE: return "JS_GLOBAL_OBJECT"; | 394 case JS_GLOBAL_OBJECT_TYPE: return "JS_GLOBAL_OBJECT"; |
395 case JS_BUILTINS_OBJECT_TYPE: return "JS_BUILTINS_OBJECT"; | 395 case JS_BUILTINS_OBJECT_TYPE: return "JS_BUILTINS_OBJECT"; |
396 case JS_GLOBAL_PROXY_TYPE: return "JS_GLOBAL_PROXY"; | 396 case JS_GLOBAL_PROXY_TYPE: return "JS_GLOBAL_PROXY"; |
397 case PROXY_TYPE: return "PROXY"; | 397 case PROXY_TYPE: return "PROXY"; |
| 398 case LAST_STRING_TYPE: return "LAST_STRING_TYPE"; |
398 #define MAKE_STRUCT_CASE(NAME, Name, name) case NAME##_TYPE: return #NAME; | 399 #define MAKE_STRUCT_CASE(NAME, Name, name) case NAME##_TYPE: return #NAME; |
399 STRUCT_LIST(MAKE_STRUCT_CASE) | 400 STRUCT_LIST(MAKE_STRUCT_CASE) |
400 #undef MAKE_STRUCT_CASE | 401 #undef MAKE_STRUCT_CASE |
401 } | 402 } |
402 return "UNKNOWN"; | 403 return "UNKNOWN"; |
403 } | 404 } |
404 | 405 |
405 | 406 |
406 void Map::MapPrint(FILE* out) { | 407 void Map::MapPrint(FILE* out) { |
407 HeapObject::PrintHeader(out, "Map"); | 408 HeapObject::PrintHeader(out, "Map"); |
(...skipping 361 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
769 desc.Print(out); | 770 desc.Print(out); |
770 } | 771 } |
771 PrintF(out, "\n"); | 772 PrintF(out, "\n"); |
772 } | 773 } |
773 | 774 |
774 | 775 |
775 #endif // OBJECT_PRINT | 776 #endif // OBJECT_PRINT |
776 | 777 |
777 | 778 |
778 } } // namespace v8::internal | 779 } } // namespace v8::internal |
OLD | NEW |