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 569 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
580 case SHARED_FUNCTION_INFO_TYPE: return "SHARED_FUNCTION_INFO"; | 580 case SHARED_FUNCTION_INFO_TYPE: return "SHARED_FUNCTION_INFO"; |
581 case JS_FUNCTION_TYPE: return "JS_FUNCTION"; | 581 case JS_FUNCTION_TYPE: return "JS_FUNCTION"; |
582 case CODE_TYPE: return "CODE"; | 582 case CODE_TYPE: return "CODE"; |
583 case JS_ARRAY_TYPE: return "JS_ARRAY"; | 583 case JS_ARRAY_TYPE: return "JS_ARRAY"; |
584 case JS_REGEXP_TYPE: return "JS_REGEXP"; | 584 case JS_REGEXP_TYPE: return "JS_REGEXP"; |
585 case JS_VALUE_TYPE: return "JS_VALUE"; | 585 case JS_VALUE_TYPE: return "JS_VALUE"; |
586 case JS_GLOBAL_OBJECT_TYPE: return "JS_GLOBAL_OBJECT"; | 586 case JS_GLOBAL_OBJECT_TYPE: return "JS_GLOBAL_OBJECT"; |
587 case JS_BUILTINS_OBJECT_TYPE: return "JS_BUILTINS_OBJECT"; | 587 case JS_BUILTINS_OBJECT_TYPE: return "JS_BUILTINS_OBJECT"; |
588 case JS_GLOBAL_PROXY_TYPE: return "JS_GLOBAL_PROXY"; | 588 case JS_GLOBAL_PROXY_TYPE: return "JS_GLOBAL_PROXY"; |
589 case PROXY_TYPE: return "PROXY"; | 589 case PROXY_TYPE: return "PROXY"; |
590 case SMI_TYPE: return "SMI"; | |
591 #define MAKE_STRUCT_CASE(NAME, Name, name) case NAME##_TYPE: return #NAME; | 590 #define MAKE_STRUCT_CASE(NAME, Name, name) case NAME##_TYPE: return #NAME; |
592 STRUCT_LIST(MAKE_STRUCT_CASE) | 591 STRUCT_LIST(MAKE_STRUCT_CASE) |
593 #undef MAKE_STRUCT_CASE | 592 #undef MAKE_STRUCT_CASE |
594 } | 593 } |
595 return "UNKNOWN"; | 594 return "UNKNOWN"; |
596 } | 595 } |
597 | 596 |
598 | 597 |
599 void Map::MapPrint() { | 598 void Map::MapPrint() { |
600 HeapObject::PrintHeader("Map"); | 599 HeapObject::PrintHeader("Map"); |
(...skipping 708 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1309 } | 1308 } |
1310 current = hash; | 1309 current = hash; |
1311 } | 1310 } |
1312 return true; | 1311 return true; |
1313 } | 1312 } |
1314 | 1313 |
1315 | 1314 |
1316 #endif // DEBUG | 1315 #endif // DEBUG |
1317 | 1316 |
1318 } } // namespace v8::internal | 1317 } } // namespace v8::internal |
OLD | NEW |