Index: src/liveedit.cc |
=================================================================== |
--- src/liveedit.cc (revision 5368) |
+++ src/liveedit.cc (working copy) |
@@ -802,25 +802,6 @@ |
}; |
-class FrameCookingThreadVisitor : public ThreadVisitor { |
- public: |
- void VisitThread(ThreadLocalTop* top) { |
- StackFrame::CookFramesForThread(top); |
- } |
-}; |
- |
-class FrameUncookingThreadVisitor : public ThreadVisitor { |
- public: |
- void VisitThread(ThreadLocalTop* top) { |
- StackFrame::UncookFramesForThread(top); |
- } |
-}; |
- |
-static void IterateAllThreads(ThreadVisitor* visitor) { |
- Top::IterateThread(visitor); |
- ThreadManager::IterateArchivedThreads(visitor); |
-} |
- |
// Finds all references to original and replaces them with substitution. |
static void ReplaceCodeObject(Code* original, Code* substitution) { |
ASSERT(!Heap::InNewSpace(substitution)); |
@@ -836,13 +817,7 @@ |
// so temporary replace the pointers with offset numbers |
// in prologue/epilogue. |
{ |
- FrameCookingThreadVisitor cooking_visitor; |
- IterateAllThreads(&cooking_visitor); |
- |
Heap::IterateStrongRoots(&visitor, VISIT_ALL); |
- |
- FrameUncookingThreadVisitor uncooking_visitor; |
- IterateAllThreads(&uncooking_visitor); |
} |
// Now iterate over all pointers of all objects, including code_target |