Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(681)

Side by Side Diff: src/debug.h

Issue 7911: Various API changes (Closed)
Patch Set: "Various API changes Created 12 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/api.cc ('k') | src/debug.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « src/api.cc ('k') | src/debug.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698