| 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 230 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 241 static Code* debug_break_return_entry() { return debug_break_return_entry_; } | 241 static Code* debug_break_return_entry() { return debug_break_return_entry_; } |
| 242 | 242 |
| 243 // Support for getting the address of the debug break on return code. | 243 // Support for getting the address of the debug break on return code. |
| 244 static Code** debug_break_return_address() { | 244 static Code** debug_break_return_address() { |
| 245 return &debug_break_return_; | 245 return &debug_break_return_; |
| 246 } | 246 } |
| 247 | 247 |
| 248 static const int kEstimatedNofDebugInfoEntries = 16; | 248 static const int kEstimatedNofDebugInfoEntries = 16; |
| 249 static const int kEstimatedNofBreakPointsInFunction = 16; | 249 static const int kEstimatedNofBreakPointsInFunction = 16; |
| 250 | 250 |
| 251 static void HandleWeakDebugInfo(v8::Persistent<v8::Object> obj, void* data); | 251 static void HandleWeakDebugInfo(v8::Persistent<v8::Value> obj, void* data); |
| 252 | 252 |
| 253 friend class Debugger; | 253 friend class Debugger; |
| 254 friend Handle<FixedArray> GetDebuggedFunctions(); // Found in test-debug.cc | 254 friend Handle<FixedArray> GetDebuggedFunctions(); // Found in test-debug.cc |
| 255 | 255 |
| 256 // Threading support. | 256 // Threading support. |
| 257 static char* ArchiveDebug(char* to); | 257 static char* ArchiveDebug(char* to); |
| 258 static char* RestoreDebug(char* from); | 258 static char* RestoreDebug(char* from); |
| 259 static int ArchiveSpacePerThread(); | 259 static int ArchiveSpacePerThread(); |
| 260 | 260 |
| 261 // Code generation assumptions. | 261 // Code generation assumptions. |
| (...skipping 311 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 573 } | 573 } |
| 574 private: | 574 private: |
| 575 Debug::AddressId id_; | 575 Debug::AddressId id_; |
| 576 int reg_; | 576 int reg_; |
| 577 }; | 577 }; |
| 578 | 578 |
| 579 | 579 |
| 580 } } // namespace v8::internal | 580 } } // namespace v8::internal |
| 581 | 581 |
| 582 #endif // V8_V8_DEBUG_H_ | 582 #endif // V8_V8_DEBUG_H_ |
| OLD | NEW |