OLD | NEW |
1 // Copyright 2006-2008 the V8 project authors. All rights reserved. | 1 // Copyright 2006-2008 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 372 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
383 case JS_OBJECT_TYPE: return "JS_OBJECT"; | 383 case JS_OBJECT_TYPE: return "JS_OBJECT"; |
384 case ODDBALL_TYPE: return "ODDBALL"; | 384 case ODDBALL_TYPE: return "ODDBALL"; |
385 case SHARED_FUNCTION_INFO_TYPE: return "SHARED_FUNCTION_INFO"; | 385 case SHARED_FUNCTION_INFO_TYPE: return "SHARED_FUNCTION_INFO"; |
386 case JS_FUNCTION_TYPE: return "JS_FUNCTION"; | 386 case JS_FUNCTION_TYPE: return "JS_FUNCTION"; |
387 case CODE_TYPE: return "CODE"; | 387 case CODE_TYPE: return "CODE"; |
388 case JS_ARRAY_TYPE: return "JS_ARRAY"; | 388 case JS_ARRAY_TYPE: return "JS_ARRAY"; |
389 case JS_REGEXP_TYPE: return "JS_REGEXP"; | 389 case JS_REGEXP_TYPE: return "JS_REGEXP"; |
390 case JS_VALUE_TYPE: return "JS_VALUE"; | 390 case JS_VALUE_TYPE: return "JS_VALUE"; |
391 case JS_GLOBAL_OBJECT_TYPE: return "JS_GLOBAL_OBJECT"; | 391 case JS_GLOBAL_OBJECT_TYPE: return "JS_GLOBAL_OBJECT"; |
392 case JS_BUILTINS_OBJECT_TYPE: return "JS_BUILTINS_OBJECT"; | 392 case JS_BUILTINS_OBJECT_TYPE: return "JS_BUILTINS_OBJECT"; |
| 393 case JS_GLOBAL_PROXY_TYPE: return "JS_GLOBAL_PROXY"; |
393 case PROXY_TYPE: return "PROXY"; | 394 case PROXY_TYPE: return "PROXY"; |
394 case SMI_TYPE: return "SMI"; | 395 case SMI_TYPE: return "SMI"; |
395 #define MAKE_STRUCT_CASE(NAME, Name, name) case NAME##_TYPE: return #NAME; | 396 #define MAKE_STRUCT_CASE(NAME, Name, name) case NAME##_TYPE: return #NAME; |
396 STRUCT_LIST(MAKE_STRUCT_CASE) | 397 STRUCT_LIST(MAKE_STRUCT_CASE) |
397 #undef MAKE_STRUCT_CASE | 398 #undef MAKE_STRUCT_CASE |
398 } | 399 } |
399 return "UNKNOWN"; | 400 return "UNKNOWN"; |
400 } | 401 } |
401 | 402 |
402 | 403 |
(...skipping 640 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1043 } | 1044 } |
1044 current = hash; | 1045 current = hash; |
1045 } | 1046 } |
1046 return true; | 1047 return true; |
1047 } | 1048 } |
1048 | 1049 |
1049 | 1050 |
1050 #endif // DEBUG | 1051 #endif // DEBUG |
1051 | 1052 |
1052 } } // namespace v8::internal | 1053 } } // namespace v8::internal |
OLD | NEW |