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

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

Issue 80623002: Array builtins proceed blithely on frozen arrays (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: a.unshift() needed special care. Created 7 years 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/mips/stub-cache-mips.cc ('k') | src/x64/stub-cache-x64.cc » ('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 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 538 matching lines...) Expand 10 before | Expand all | Expand 10 after
549 } 549 }
550 if (is_undetectable()) { 550 if (is_undetectable()) {
551 PrintF(out, " - undetectable\n"); 551 PrintF(out, " - undetectable\n");
552 } 552 }
553 if (has_instance_call_handler()) { 553 if (has_instance_call_handler()) {
554 PrintF(out, " - instance_call_handler\n"); 554 PrintF(out, " - instance_call_handler\n");
555 } 555 }
556 if (is_access_check_needed()) { 556 if (is_access_check_needed()) {
557 PrintF(out, " - access_check_needed\n"); 557 PrintF(out, " - access_check_needed\n");
558 } 558 }
559 if (is_frozen()) {
560 PrintF(out, " - frozen\n");
561 } else if (!is_extensible()) {
562 PrintF(out, " - sealed\n");
563 }
559 PrintF(out, " - back pointer: "); 564 PrintF(out, " - back pointer: ");
560 GetBackPointer()->ShortPrint(out); 565 GetBackPointer()->ShortPrint(out);
561 PrintF(out, "\n - instance descriptors %s#%i: ", 566 PrintF(out, "\n - instance descriptors %s#%i: ",
562 owns_descriptors() ? "(own) " : "", 567 owns_descriptors() ? "(own) " : "",
563 NumberOfOwnDescriptors()); 568 NumberOfOwnDescriptors());
564 instance_descriptors()->ShortPrint(out); 569 instance_descriptors()->ShortPrint(out);
565 if (HasTransitionArray()) { 570 if (HasTransitionArray()) {
566 PrintF(out, "\n - transitions: "); 571 PrintF(out, "\n - transitions: ");
567 transitions()->ShortPrint(out); 572 transitions()->ShortPrint(out);
568 } 573 }
(...skipping 694 matching lines...) Expand 10 before | Expand all | Expand 10 after
1263 } 1268 }
1264 } 1269 }
1265 PrintF(out, "\n"); 1270 PrintF(out, "\n");
1266 } 1271 }
1267 1272
1268 1273
1269 #endif // OBJECT_PRINT 1274 #endif // OBJECT_PRINT
1270 1275
1271 1276
1272 } } // namespace v8::internal 1277 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/mips/stub-cache-mips.cc ('k') | src/x64/stub-cache-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698