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 242 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
253 static void HandleWeakDebugInfo(v8::Persistent<v8::Value> obj, void* data); | 253 static void HandleWeakDebugInfo(v8::Persistent<v8::Value> obj, void* data); |
254 | 254 |
255 friend class Debugger; | 255 friend class Debugger; |
256 friend Handle<FixedArray> GetDebuggedFunctions(); // Found in test-debug.cc | 256 friend Handle<FixedArray> GetDebuggedFunctions(); // Found in test-debug.cc |
257 | 257 |
258 // Threading support. | 258 // Threading support. |
259 static char* ArchiveDebug(char* to); | 259 static char* ArchiveDebug(char* to); |
260 static char* RestoreDebug(char* from); | 260 static char* RestoreDebug(char* from); |
261 static int ArchiveSpacePerThread(); | 261 static int ArchiveSpacePerThread(); |
262 | 262 |
| 263 // Mirror cache handling. |
| 264 static void ClearMirrorCache(); |
| 265 |
263 // Code generation assumptions. | 266 // Code generation assumptions. |
264 static const int kIa32CallInstructionLength = 5; | 267 static const int kIa32CallInstructionLength = 5; |
265 static const int kIa32JSReturnSequenceLength = 6; | 268 static const int kIa32JSReturnSequenceLength = 6; |
266 | 269 |
267 // Code generator routines. | 270 // Code generator routines. |
268 static void GenerateLoadICDebugBreak(MacroAssembler* masm); | 271 static void GenerateLoadICDebugBreak(MacroAssembler* masm); |
269 static void GenerateStoreICDebugBreak(MacroAssembler* masm); | 272 static void GenerateStoreICDebugBreak(MacroAssembler* masm); |
270 static void GenerateKeyedLoadICDebugBreak(MacroAssembler* masm); | 273 static void GenerateKeyedLoadICDebugBreak(MacroAssembler* masm); |
271 static void GenerateKeyedStoreICDebugBreak(MacroAssembler* masm); | 274 static void GenerateKeyedStoreICDebugBreak(MacroAssembler* masm); |
272 static void GenerateConstructCallDebugBreak(MacroAssembler* masm); | 275 static void GenerateConstructCallDebugBreak(MacroAssembler* masm); |
(...skipping 318 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
591 } | 594 } |
592 private: | 595 private: |
593 Debug::AddressId id_; | 596 Debug::AddressId id_; |
594 int reg_; | 597 int reg_; |
595 }; | 598 }; |
596 | 599 |
597 | 600 |
598 } } // namespace v8::internal | 601 } } // namespace v8::internal |
599 | 602 |
600 #endif // V8_V8_DEBUG_H_ | 603 #endif // V8_V8_DEBUG_H_ |
OLD | NEW |