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 529 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
540 case JS_FUNCTION_TYPE: return "JS_FUNCTION"; | 540 case JS_FUNCTION_TYPE: return "JS_FUNCTION"; |
541 case CODE_TYPE: return "CODE"; | 541 case CODE_TYPE: return "CODE"; |
542 case JS_ARRAY_TYPE: return "JS_ARRAY"; | 542 case JS_ARRAY_TYPE: return "JS_ARRAY"; |
543 case JS_PROXY_TYPE: return "JS_PROXY"; | 543 case JS_PROXY_TYPE: return "JS_PROXY"; |
544 case JS_WEAK_MAP_TYPE: return "JS_WEAK_MAP"; | 544 case JS_WEAK_MAP_TYPE: return "JS_WEAK_MAP"; |
545 case JS_REGEXP_TYPE: return "JS_REGEXP"; | 545 case JS_REGEXP_TYPE: return "JS_REGEXP"; |
546 case JS_VALUE_TYPE: return "JS_VALUE"; | 546 case JS_VALUE_TYPE: return "JS_VALUE"; |
547 case JS_GLOBAL_OBJECT_TYPE: return "JS_GLOBAL_OBJECT"; | 547 case JS_GLOBAL_OBJECT_TYPE: return "JS_GLOBAL_OBJECT"; |
548 case JS_BUILTINS_OBJECT_TYPE: return "JS_BUILTINS_OBJECT"; | 548 case JS_BUILTINS_OBJECT_TYPE: return "JS_BUILTINS_OBJECT"; |
549 case JS_GLOBAL_PROXY_TYPE: return "JS_GLOBAL_PROXY"; | 549 case JS_GLOBAL_PROXY_TYPE: return "JS_GLOBAL_PROXY"; |
| 550 case JS_TYPED_ARRAY_TYPE: return "JS_TYPED_ARRAY"; |
| 551 case JS_ARRAY_BUFFER_TYPE: return "JS_ARRAY_BUFFER"; |
550 case FOREIGN_TYPE: return "FOREIGN"; | 552 case FOREIGN_TYPE: return "FOREIGN"; |
551 case JS_MESSAGE_OBJECT_TYPE: return "JS_MESSAGE_OBJECT_TYPE"; | 553 case JS_MESSAGE_OBJECT_TYPE: return "JS_MESSAGE_OBJECT_TYPE"; |
552 #define MAKE_STRUCT_CASE(NAME, Name, name) case NAME##_TYPE: return #NAME; | 554 #define MAKE_STRUCT_CASE(NAME, Name, name) case NAME##_TYPE: return #NAME; |
553 STRUCT_LIST(MAKE_STRUCT_CASE) | 555 STRUCT_LIST(MAKE_STRUCT_CASE) |
554 #undef MAKE_STRUCT_CASE | 556 #undef MAKE_STRUCT_CASE |
555 default: return "UNKNOWN"; | 557 default: return "UNKNOWN"; |
556 } | 558 } |
557 } | 559 } |
558 | 560 |
559 | 561 |
(...skipping 649 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1209 } | 1211 } |
1210 } | 1212 } |
1211 PrintF(out, "\n"); | 1213 PrintF(out, "\n"); |
1212 } | 1214 } |
1213 | 1215 |
1214 | 1216 |
1215 #endif // OBJECT_PRINT | 1217 #endif // OBJECT_PRINT |
1216 | 1218 |
1217 | 1219 |
1218 } } // namespace v8::internal | 1220 } } // namespace v8::internal |
OLD | NEW |