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

Unified Diff: src/debug.h

Issue 6446: Revert 428. Breaks 64-bit compilation. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 12 years, 2 months 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/bootstrapper.cc ('k') | src/debug.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/debug.h
===================================================================
--- src/debug.h (revision 429)
+++ src/debug.h (working copy)
@@ -233,16 +233,16 @@
}
// Support for saving/restoring registers when handling debug break calls.
- static Object** register_address(int r) {
- return &registers_[r];
+ static Address* register_address(int r) {
+ return reinterpret_cast<Address *>(&registers_[r]);
}
// Address of the debug break return entry code.
static Code* debug_break_return_entry() { return debug_break_return_entry_; }
// Support for getting the address of the debug break on return code.
- static Code** debug_break_return_address() {
- return &debug_break_return_;
+ static Address* debug_break_return_address() {
+ return reinterpret_cast<Address*>(&debug_break_return_);
}
static const int kEstimatedNofDebugInfoEntries = 16;
« no previous file with comments | « src/bootstrapper.cc ('k') | src/debug.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698