Index: src/top.cc |
=================================================================== |
--- src/top.cc (revision 1435) |
+++ src/top.cc (working copy) |
@@ -38,9 +38,6 @@ |
ThreadLocalTop Top::thread_local_; |
Mutex* Top::break_access_ = OS::CreateMutex(); |
-StackFrame::Id Top::break_frame_id_; |
-int Top::break_count_; |
-int Top::break_id_; |
NoAllocationStringAllocator* preallocated_message_space = NULL; |
@@ -222,10 +219,6 @@ |
InitializeThreadLocal(); |
- break_frame_id_ = StackFrame::NO_ID; |
- break_count_ = 0; |
- break_id_ = 0; |
- |
// Only preallocate on the first initialization. |
if (FLAG_preallocate_message_memory && (preallocated_message_space == NULL)) { |
// Start the thread which will set aside some memory. |
@@ -295,44 +288,6 @@ |
} |
-void Top::new_break(StackFrame::Id break_frame_id) { |
- ExecutionAccess access; |
- break_frame_id_ = break_frame_id; |
- break_id_ = ++break_count_; |
-} |
- |
- |
-void Top::set_break(StackFrame::Id break_frame_id, int break_id) { |
- ExecutionAccess access; |
- break_frame_id_ = break_frame_id; |
- break_id_ = break_id; |
-} |
- |
- |
-bool Top::check_break(int break_id) { |
- ExecutionAccess access; |
- return break_id == break_id_; |
-} |
- |
- |
-bool Top::is_break() { |
- ExecutionAccess access; |
- return break_id_ != 0; |
-} |
- |
- |
-StackFrame::Id Top::break_frame_id() { |
- ExecutionAccess access; |
- return break_frame_id_; |
-} |
- |
- |
-int Top::break_id() { |
- ExecutionAccess access; |
- return break_id_; |
-} |
- |
- |
void Top::MarkCompactPrologue(bool is_compacting) { |
MarkCompactPrologue(is_compacting, &thread_local_); |
} |