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

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

Issue 8135003: Fix verification of weak maps during initialization. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 9 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
« no previous file with comments | « src/objects-inl.h ('k') | src/runtime.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 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 690 matching lines...) Expand 10 before | Expand all | Expand 10 after
701 call_trap()->Print(out); 701 call_trap()->Print(out);
702 PrintF(out, " - construct_trap = "); 702 PrintF(out, " - construct_trap = ");
703 construct_trap()->Print(out); 703 construct_trap()->Print(out);
704 PrintF(out, "\n"); 704 PrintF(out, "\n");
705 } 705 }
706 706
707 707
708 void JSWeakMap::JSWeakMapPrint(FILE* out) { 708 void JSWeakMap::JSWeakMapPrint(FILE* out) {
709 HeapObject::PrintHeader(out, "JSWeakMap"); 709 HeapObject::PrintHeader(out, "JSWeakMap");
710 PrintF(out, " - map = 0x%p\n", reinterpret_cast<void*>(map())); 710 PrintF(out, " - map = 0x%p\n", reinterpret_cast<void*>(map()));
711 PrintF(out, " - number of elements = %d\n", table()->NumberOfElements());
712 PrintF(out, " - table = "); 711 PrintF(out, " - table = ");
713 table()->ShortPrint(out); 712 table()->ShortPrint(out);
714 PrintF(out, "\n"); 713 PrintF(out, "\n");
715 } 714 }
716 715
717 716
718 void JSFunction::JSFunctionPrint(FILE* out) { 717 void JSFunction::JSFunctionPrint(FILE* out) {
719 HeapObject::PrintHeader(out, "Function"); 718 HeapObject::PrintHeader(out, "Function");
720 PrintF(out, " - map = 0x%p\n", reinterpret_cast<void*>(map())); 719 PrintF(out, " - map = 0x%p\n", reinterpret_cast<void*>(map()));
721 PrintF(out, " - initial_map = "); 720 PrintF(out, " - initial_map = ");
(...skipping 275 matching lines...) Expand 10 before | Expand all | Expand 10 after
997 desc.Print(out); 996 desc.Print(out);
998 } 997 }
999 PrintF(out, "\n"); 998 PrintF(out, "\n");
1000 } 999 }
1001 1000
1002 1001
1003 #endif // OBJECT_PRINT 1002 #endif // OBJECT_PRINT
1004 1003
1005 1004
1006 } } // namespace v8::internal 1005 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/objects-inl.h ('k') | src/runtime.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698