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 741 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
752 HeapObject::PrintHeader(out, "Code"); | 752 HeapObject::PrintHeader(out, "Code"); |
753 #ifdef ENABLE_DISASSEMBLER | 753 #ifdef ENABLE_DISASSEMBLER |
754 if (FLAG_use_verbose_printer) { | 754 if (FLAG_use_verbose_printer) { |
755 Disassemble(NULL, out); | 755 Disassemble(NULL, out); |
756 } | 756 } |
757 #endif | 757 #endif |
758 } | 758 } |
759 | 759 |
760 | 760 |
761 void Foreign::ForeignPrint(FILE* out) { | 761 void Foreign::ForeignPrint(FILE* out) { |
762 PrintF(out, "foreign address : %p", address()); | 762 PrintF(out, "foreign address : %p", foreign_address()); |
763 } | 763 } |
764 | 764 |
765 | 765 |
766 void AccessorInfo::AccessorInfoPrint(FILE* out) { | 766 void AccessorInfo::AccessorInfoPrint(FILE* out) { |
767 HeapObject::PrintHeader(out, "AccessorInfo"); | 767 HeapObject::PrintHeader(out, "AccessorInfo"); |
768 PrintF(out, "\n - getter: "); | 768 PrintF(out, "\n - getter: "); |
769 getter()->ShortPrint(out); | 769 getter()->ShortPrint(out); |
770 PrintF(out, "\n - setter: "); | 770 PrintF(out, "\n - setter: "); |
771 setter()->ShortPrint(out); | 771 setter()->ShortPrint(out); |
772 PrintF(out, "\n - name: "); | 772 PrintF(out, "\n - name: "); |
(...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
948 desc.Print(out); | 948 desc.Print(out); |
949 } | 949 } |
950 PrintF(out, "\n"); | 950 PrintF(out, "\n"); |
951 } | 951 } |
952 | 952 |
953 | 953 |
954 #endif // OBJECT_PRINT | 954 #endif // OBJECT_PRINT |
955 | 955 |
956 | 956 |
957 } } // namespace v8::internal | 957 } } // namespace v8::internal |
OLD | NEW |