| 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 263 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 274 FastPropertyAt(r.GetFieldIndex())->ShortPrint(); | 274 FastPropertyAt(r.GetFieldIndex())->ShortPrint(); |
| 275 PrintF(" (field at offset %d)\n", r.GetFieldIndex()); | 275 PrintF(" (field at offset %d)\n", r.GetFieldIndex()); |
| 276 } else if (r.type() == CONSTANT_FUNCTION) { | 276 } else if (r.type() == CONSTANT_FUNCTION) { |
| 277 r.GetConstantFunction()->ShortPrint(); | 277 r.GetConstantFunction()->ShortPrint(); |
| 278 PrintF(" (constant function)\n"); | 278 PrintF(" (constant function)\n"); |
| 279 } else if (r.type() == CALLBACKS) { | 279 } else if (r.type() == CALLBACKS) { |
| 280 r.GetCallbacksObject()->ShortPrint(); | 280 r.GetCallbacksObject()->ShortPrint(); |
| 281 PrintF(" (callback)\n"); | 281 PrintF(" (callback)\n"); |
| 282 } else if (r.type() == MAP_TRANSITION) { | 282 } else if (r.type() == MAP_TRANSITION) { |
| 283 PrintF(" (map transition)\n"); | 283 PrintF(" (map transition)\n"); |
| 284 } else if (r.type() == CONSTANT_TRANSITION) { |
| 285 PrintF(" (constant transition)\n"); |
| 286 } else if (r.type() == NULL_DESCRIPTOR) { |
| 287 PrintF(" (null descriptor)\n"); |
| 284 } else { | 288 } else { |
| 285 UNREACHABLE(); | 289 UNREACHABLE(); |
| 286 } | 290 } |
| 287 } | 291 } |
| 288 } else { | 292 } else { |
| 289 property_dictionary()->Print(); | 293 property_dictionary()->Print(); |
| 290 } | 294 } |
| 291 } | 295 } |
| 292 | 296 |
| 293 | 297 |
| (...skipping 765 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1059 } | 1063 } |
| 1060 current = hash; | 1064 current = hash; |
| 1061 } | 1065 } |
| 1062 return true; | 1066 return true; |
| 1063 } | 1067 } |
| 1064 | 1068 |
| 1065 | 1069 |
| 1066 #endif // DEBUG | 1070 #endif // DEBUG |
| 1067 | 1071 |
| 1068 } } // namespace v8::internal | 1072 } } // namespace v8::internal |
| OLD | NEW |