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

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

Issue 35413006: Correct handling of arrays with callbacks in the prototype chain. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: A few test updates and simpler prototype updating. Created 7 years, 2 months 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
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 537 matching lines...) Expand 10 before | Expand all | Expand 10 after
548 } 548 }
549 if (is_undetectable()) { 549 if (is_undetectable()) {
550 PrintF(out, " - undetectable\n"); 550 PrintF(out, " - undetectable\n");
551 } 551 }
552 if (has_instance_call_handler()) { 552 if (has_instance_call_handler()) {
553 PrintF(out, " - instance_call_handler\n"); 553 PrintF(out, " - instance_call_handler\n");
554 } 554 }
555 if (is_access_check_needed()) { 555 if (is_access_check_needed()) {
556 PrintF(out, " - access_check_needed\n"); 556 PrintF(out, " - access_check_needed\n");
557 } 557 }
558 if (has_element_callbacks()) {
559 PrintF(out, " - has_element_callbacks\n");
560 }
558 PrintF(out, " - back pointer: "); 561 PrintF(out, " - back pointer: ");
559 GetBackPointer()->ShortPrint(out); 562 GetBackPointer()->ShortPrint(out);
560 PrintF(out, "\n - instance descriptors %s#%i: ", 563 PrintF(out, "\n - instance descriptors %s#%i: ",
561 owns_descriptors() ? "(own) " : "", 564 owns_descriptors() ? "(own) " : "",
562 NumberOfOwnDescriptors()); 565 NumberOfOwnDescriptors());
563 instance_descriptors()->ShortPrint(out); 566 instance_descriptors()->ShortPrint(out);
564 if (HasTransitionArray()) { 567 if (HasTransitionArray()) {
565 PrintF(out, "\n - transitions: "); 568 PrintF(out, "\n - transitions: ");
566 transitions()->ShortPrint(out); 569 transitions()->ShortPrint(out);
567 } 570 }
(...skipping 688 matching lines...) Expand 10 before | Expand all | Expand 10 after
1256 } 1259 }
1257 } 1260 }
1258 PrintF(out, "\n"); 1261 PrintF(out, "\n");
1259 } 1262 }
1260 1263
1261 1264
1262 #endif // OBJECT_PRINT 1265 #endif // OBJECT_PRINT
1263 1266
1264 1267
1265 } } // namespace v8::internal 1268 } } // namespace v8::internal
OLDNEW
« src/objects.cc ('K') | « src/objects-inl.h ('k') | test/mjsunit/allocation-site-info.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698