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 336 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
347 static void HandleWeakDebugInfo(v8::Persistent<v8::Value> obj, void* data); | 347 static void HandleWeakDebugInfo(v8::Persistent<v8::Value> obj, void* data); |
348 | 348 |
349 friend class Debugger; | 349 friend class Debugger; |
350 friend Handle<FixedArray> GetDebuggedFunctions(); // In test-debug.cc | 350 friend Handle<FixedArray> GetDebuggedFunctions(); // In test-debug.cc |
351 friend void CheckDebuggerUnloaded(bool check_functions); // In test-debug.cc | 351 friend void CheckDebuggerUnloaded(bool check_functions); // In test-debug.cc |
352 | 352 |
353 // Threading support. | 353 // Threading support. |
354 static char* ArchiveDebug(char* to); | 354 static char* ArchiveDebug(char* to); |
355 static char* RestoreDebug(char* from); | 355 static char* RestoreDebug(char* from); |
356 static int ArchiveSpacePerThread(); | 356 static int ArchiveSpacePerThread(); |
| 357 static void FreeThreadResources() { } |
357 | 358 |
358 // Mirror cache handling. | 359 // Mirror cache handling. |
359 static void ClearMirrorCache(); | 360 static void ClearMirrorCache(); |
360 | 361 |
361 // Script cache handling. | 362 // Script cache handling. |
362 static void CreateScriptCache(); | 363 static void CreateScriptCache(); |
363 static void DestroyScriptCache(); | 364 static void DestroyScriptCache(); |
364 static void AddScriptToScriptCache(Handle<Script> script); | 365 static void AddScriptToScriptCache(Handle<Script> script); |
365 static Handle<FixedArray> GetLoadedScripts(); | 366 static Handle<FixedArray> GetLoadedScripts(); |
366 | 367 |
(...skipping 492 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
859 Debug::AddressId id_; | 860 Debug::AddressId id_; |
860 int reg_; | 861 int reg_; |
861 }; | 862 }; |
862 | 863 |
863 | 864 |
864 } } // namespace v8::internal | 865 } } // namespace v8::internal |
865 | 866 |
866 #endif // ENABLE_DEBUGGER_SUPPORT | 867 #endif // ENABLE_DEBUGGER_SUPPORT |
867 | 868 |
868 #endif // V8_DEBUG_H_ | 869 #endif // V8_DEBUG_H_ |
OLD | NEW |