Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1178)

Side by Side Diff: src/objects-printer.cc

Issue 8491016: Refactoring only: Make the handling of PropertyType more explicit. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Unified our 2 UpdateCaches implementations, making some assumptions more explicit Created 9 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/objects-inl.h ('k') | src/property.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 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 277 matching lines...) Expand 10 before | Expand all | Expand 10 after
288 } 288 }
289 case MAP_TRANSITION: 289 case MAP_TRANSITION:
290 PrintF(out, "(map transition)\n"); 290 PrintF(out, "(map transition)\n");
291 break; 291 break;
292 case CONSTANT_TRANSITION: 292 case CONSTANT_TRANSITION:
293 PrintF(out, "(constant transition)\n"); 293 PrintF(out, "(constant transition)\n");
294 break; 294 break;
295 case NULL_DESCRIPTOR: 295 case NULL_DESCRIPTOR:
296 PrintF(out, "(null descriptor)\n"); 296 PrintF(out, "(null descriptor)\n");
297 break; 297 break;
298 default: 298 case NORMAL: // only in slow mode
299 case HANDLER: // only in lookup results, not in descriptors
300 case INTERCEPTOR: // only in lookup results, not in descriptors
299 UNREACHABLE(); 301 UNREACHABLE();
300 break; 302 break;
301 } 303 }
302 } 304 }
303 } else { 305 } else {
304 property_dictionary()->Print(out); 306 property_dictionary()->Print(out);
305 } 307 }
306 } 308 }
307 309
308 310
(...skipping 639 matching lines...) Expand 10 before | Expand all | Expand 10 after
948 desc.Print(out); 950 desc.Print(out);
949 } 951 }
950 PrintF(out, "\n"); 952 PrintF(out, "\n");
951 } 953 }
952 954
953 955
954 #endif // OBJECT_PRINT 956 #endif // OBJECT_PRINT
955 957
956 958
957 } } // namespace v8::internal 959 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/objects-inl.h ('k') | src/property.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698