OLD | NEW |
1 // Copyright 2006-2008 the V8 project authors. All rights reserved. | 1 // Copyright 2006-2008 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 923 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
934 PrintF("\n - source: "); | 934 PrintF("\n - source: "); |
935 source()->ShortPrint(); | 935 source()->ShortPrint(); |
936 PrintF("\n - name: "); | 936 PrintF("\n - name: "); |
937 name()->ShortPrint(); | 937 name()->ShortPrint(); |
938 PrintF("\n - line_offset: "); | 938 PrintF("\n - line_offset: "); |
939 line_offset()->ShortPrint(); | 939 line_offset()->ShortPrint(); |
940 PrintF("\n - column_offset: "); | 940 PrintF("\n - column_offset: "); |
941 column_offset()->ShortPrint(); | 941 column_offset()->ShortPrint(); |
942 PrintF("\n - type: "); | 942 PrintF("\n - type: "); |
943 type()->ShortPrint(); | 943 type()->ShortPrint(); |
| 944 PrintF("\n - id: "); |
| 945 id()->ShortPrint(); |
944 PrintF("\n"); | 946 PrintF("\n"); |
945 } | 947 } |
946 | 948 |
947 | 949 |
948 void DebugInfo::DebugInfoVerify() { | 950 void DebugInfo::DebugInfoVerify() { |
949 CHECK(IsDebugInfo()); | 951 CHECK(IsDebugInfo()); |
950 VerifyPointer(shared()); | 952 VerifyPointer(shared()); |
951 VerifyPointer(original_code()); | 953 VerifyPointer(original_code()); |
952 VerifyPointer(code()); | 954 VerifyPointer(code()); |
953 VerifyPointer(break_points()); | 955 VerifyPointer(break_points()); |
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1086 } | 1088 } |
1087 current = hash; | 1089 current = hash; |
1088 } | 1090 } |
1089 return true; | 1091 return true; |
1090 } | 1092 } |
1091 | 1093 |
1092 | 1094 |
1093 #endif // DEBUG | 1095 #endif // DEBUG |
1094 | 1096 |
1095 } } // namespace v8::internal | 1097 } } // namespace v8::internal |
OLD | NEW |