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

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

Issue 289503002: ES6 Map/Set iterators/forEach improvements (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: git rebase to fix merge conflict Created 6 years, 7 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.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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "v8.h" 5 #include "v8.h"
6 6
7 #include "disassembler.h" 7 #include "disassembler.h"
8 #include "disasm.h" 8 #include "disasm.h"
9 #include "jsregexp.h" 9 #include "jsregexp.h"
10 #include "objects-visiting.h" 10 #include "objects-visiting.h"
(...skipping 725 matching lines...) Expand 10 before | Expand all | Expand 10 after
736 736
737 737
738 template<class Derived, class TableType> 738 template<class Derived, class TableType>
739 void OrderedHashTableIterator<Derived, TableType>:: 739 void OrderedHashTableIterator<Derived, TableType>::
740 OrderedHashTableIteratorPrint(FILE* out) { 740 OrderedHashTableIteratorPrint(FILE* out) {
741 PrintF(out, " - map = %p\n", reinterpret_cast<void*>(map())); 741 PrintF(out, " - map = %p\n", reinterpret_cast<void*>(map()));
742 PrintF(out, " - table = "); 742 PrintF(out, " - table = ");
743 table()->ShortPrint(out); 743 table()->ShortPrint(out);
744 PrintF(out, "\n - index = "); 744 PrintF(out, "\n - index = ");
745 index()->ShortPrint(out); 745 index()->ShortPrint(out);
746 PrintF(out, "\n - count = ");
747 count()->ShortPrint(out);
748 PrintF(out, "\n - kind = "); 746 PrintF(out, "\n - kind = ");
749 kind()->ShortPrint(out); 747 kind()->ShortPrint(out);
750 PrintF(out, "\n - next_iterator = ");
751 next_iterator()->ShortPrint(out);
752 PrintF(out, "\n - previous_iterator = ");
753 previous_iterator()->ShortPrint(out);
754 PrintF(out, "\n"); 748 PrintF(out, "\n");
755 } 749 }
756 750
757 751
758 template void 752 template void
759 OrderedHashTableIterator<JSSetIterator, 753 OrderedHashTableIterator<JSSetIterator,
760 OrderedHashSet>::OrderedHashTableIteratorPrint(FILE* out); 754 OrderedHashSet>::OrderedHashTableIteratorPrint(FILE* out);
761 755
762 756
763 template void 757 template void
(...skipping 482 matching lines...) Expand 10 before | Expand all | Expand 10 after
1246 } 1240 }
1247 } 1241 }
1248 PrintF(out, "\n"); 1242 PrintF(out, "\n");
1249 } 1243 }
1250 1244
1251 1245
1252 #endif // OBJECT_PRINT 1246 #endif // OBJECT_PRINT
1253 1247
1254 1248
1255 } } // namespace v8::internal 1249 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/objects-inl.h ('k') | src/runtime.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698