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 1127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1138 PrintF("\n - data: "); | 1138 PrintF("\n - data: "); |
1139 data()->ShortPrint(); | 1139 data()->ShortPrint(); |
1140 PrintF("\n - context data: "); | 1140 PrintF("\n - context data: "); |
1141 context_data()->ShortPrint(); | 1141 context_data()->ShortPrint(); |
1142 PrintF("\n - wrapper: "); | 1142 PrintF("\n - wrapper: "); |
1143 wrapper()->ShortPrint(); | 1143 wrapper()->ShortPrint(); |
1144 PrintF("\n - compilation type: "); | 1144 PrintF("\n - compilation type: "); |
1145 compilation_type()->ShortPrint(); | 1145 compilation_type()->ShortPrint(); |
1146 PrintF("\n - line ends: "); | 1146 PrintF("\n - line ends: "); |
1147 line_ends()->ShortPrint(); | 1147 line_ends()->ShortPrint(); |
1148 PrintF("\n - eval from script: "); | 1148 PrintF("\n - eval from shared: "); |
1149 eval_from_script()->ShortPrint(); | 1149 eval_from_shared()->ShortPrint(); |
1150 PrintF("\n - eval from script position: "); | 1150 PrintF("\n - eval from instructions offset: "); |
1151 eval_from_script_position()->ShortPrint(); | 1151 eval_from_instructions_offset()->ShortPrint(); |
1152 PrintF("\n - eval from function name: "); | |
1153 eval_from_function_name()->ShortPrint(); | |
1154 PrintF("\n"); | 1152 PrintF("\n"); |
1155 } | 1153 } |
1156 | 1154 |
1157 | 1155 |
1158 #ifdef ENABLE_DEBUGGER_SUPPORT | 1156 #ifdef ENABLE_DEBUGGER_SUPPORT |
1159 void DebugInfo::DebugInfoVerify() { | 1157 void DebugInfo::DebugInfoVerify() { |
1160 CHECK(IsDebugInfo()); | 1158 CHECK(IsDebugInfo()); |
1161 VerifyPointer(shared()); | 1159 VerifyPointer(shared()); |
1162 VerifyPointer(original_code()); | 1160 VerifyPointer(original_code()); |
1163 VerifyPointer(code()); | 1161 VerifyPointer(code()); |
(...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1311 } | 1309 } |
1312 current = hash; | 1310 current = hash; |
1313 } | 1311 } |
1314 return true; | 1312 return true; |
1315 } | 1313 } |
1316 | 1314 |
1317 | 1315 |
1318 #endif // DEBUG | 1316 #endif // DEBUG |
1319 | 1317 |
1320 } } // namespace v8::internal | 1318 } } // namespace v8::internal |
OLD | NEW |