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 241 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
252 static Code** debug_break_return_address() { | 252 static Code** debug_break_return_address() { |
253 return &debug_break_return_; | 253 return &debug_break_return_; |
254 } | 254 } |
255 | 255 |
256 static const int kEstimatedNofDebugInfoEntries = 16; | 256 static const int kEstimatedNofDebugInfoEntries = 16; |
257 static const int kEstimatedNofBreakPointsInFunction = 16; | 257 static const int kEstimatedNofBreakPointsInFunction = 16; |
258 | 258 |
259 static void HandleWeakDebugInfo(v8::Persistent<v8::Value> obj, void* data); | 259 static void HandleWeakDebugInfo(v8::Persistent<v8::Value> obj, void* data); |
260 | 260 |
261 friend class Debugger; | 261 friend class Debugger; |
262 friend Handle<FixedArray> GetDebuggedFunctions(); // Found in test-debug.cc | 262 friend Handle<FixedArray> GetDebuggedFunctions(); // In test-debug.cc |
263 friend void CheckDebuggerUnloaded(bool); // Found in test-debug.cc | 263 friend void CheckDebuggerUnloaded(bool check_functions); // In test-debug.cc |
264 | 264 |
265 // Threading support. | 265 // Threading support. |
266 static char* ArchiveDebug(char* to); | 266 static char* ArchiveDebug(char* to); |
267 static char* RestoreDebug(char* from); | 267 static char* RestoreDebug(char* from); |
268 static int ArchiveSpacePerThread(); | 268 static int ArchiveSpacePerThread(); |
269 | 269 |
270 // Mirror cache handling. | 270 // Mirror cache handling. |
271 static void ClearMirrorCache(); | 271 static void ClearMirrorCache(); |
272 | 272 |
273 // Code generation assumptions. | 273 // Code generation assumptions. |
(...skipping 330 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
604 } | 604 } |
605 private: | 605 private: |
606 Debug::AddressId id_; | 606 Debug::AddressId id_; |
607 int reg_; | 607 int reg_; |
608 }; | 608 }; |
609 | 609 |
610 | 610 |
611 } } // namespace v8::internal | 611 } } // namespace v8::internal |
612 | 612 |
613 #endif // V8_V8_DEBUG_H_ | 613 #endif // V8_V8_DEBUG_H_ |
OLD | NEW |