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