OLD | NEW |
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 768 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
779 setter()->ShortPrint(out); | 779 setter()->ShortPrint(out); |
780 PrintF(out, "\n - name: "); | 780 PrintF(out, "\n - name: "); |
781 name()->ShortPrint(out); | 781 name()->ShortPrint(out); |
782 PrintF(out, "\n - data: "); | 782 PrintF(out, "\n - data: "); |
783 data()->ShortPrint(out); | 783 data()->ShortPrint(out); |
784 PrintF(out, "\n - flag: "); | 784 PrintF(out, "\n - flag: "); |
785 flag()->ShortPrint(out); | 785 flag()->ShortPrint(out); |
786 } | 786 } |
787 | 787 |
788 | 788 |
| 789 void AccessorPair::AccessorPairPrint(FILE* out) { |
| 790 HeapObject::PrintHeader(out, "AccessorPair"); |
| 791 PrintF(out, "\n - getter: "); |
| 792 getter()->ShortPrint(out); |
| 793 PrintF(out, "\n - setter: "); |
| 794 setter()->ShortPrint(out); |
| 795 } |
| 796 |
| 797 |
789 void AccessCheckInfo::AccessCheckInfoPrint(FILE* out) { | 798 void AccessCheckInfo::AccessCheckInfoPrint(FILE* out) { |
790 HeapObject::PrintHeader(out, "AccessCheckInfo"); | 799 HeapObject::PrintHeader(out, "AccessCheckInfo"); |
791 PrintF(out, "\n - named_callback: "); | 800 PrintF(out, "\n - named_callback: "); |
792 named_callback()->ShortPrint(out); | 801 named_callback()->ShortPrint(out); |
793 PrintF(out, "\n - indexed_callback: "); | 802 PrintF(out, "\n - indexed_callback: "); |
794 indexed_callback()->ShortPrint(out); | 803 indexed_callback()->ShortPrint(out); |
795 PrintF(out, "\n - data: "); | 804 PrintF(out, "\n - data: "); |
796 data()->ShortPrint(out); | 805 data()->ShortPrint(out); |
797 } | 806 } |
798 | 807 |
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
956 desc.Print(out); | 965 desc.Print(out); |
957 } | 966 } |
958 PrintF(out, "\n"); | 967 PrintF(out, "\n"); |
959 } | 968 } |
960 | 969 |
961 | 970 |
962 #endif // OBJECT_PRINT | 971 #endif // OBJECT_PRINT |
963 | 972 |
964 | 973 |
965 } } // namespace v8::internal | 974 } } // namespace v8::internal |
OLD | NEW |