Index: src/debug.h |
=================================================================== |
--- src/debug.h (revision 401) |
+++ src/debug.h (working copy) |
@@ -232,16 +232,16 @@ |
} |
// Support for saving/restoring registers when handling debug break calls. |
- static Address* register_address(int r) { |
- return reinterpret_cast<Address *>(®isters_[r]); |
+ static Object** register_address(int r) { |
+ return ®isters_[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 Address* debug_break_return_address() { |
- return reinterpret_cast<Address*>(&debug_break_return_); |
+ static Code** debug_break_return_address() { |
+ return &debug_break_return_; |
} |
static const int kEstimatedNofDebugInfoEntries = 16; |