Index: src/frames.cc |
=================================================================== |
--- src/frames.cc (revision 3575) |
+++ src/frames.cc (working copy) |
@@ -306,7 +306,7 @@ |
void StackHandler::Uncook(Code* code) { |
- ASSERT(MarkCompactCollector::IsCompacting()); |
+ ASSERT(MarkCompactCollector::HasCompacted()); |
set_pc(code->instruction_start() + OffsetFrom(pc())); |
ASSERT(code->contains(pc())); |
} |
@@ -336,7 +336,7 @@ |
void StackFrame::UncookFramesForThread(ThreadLocalTop* thread) { |
// Only uncooking frames when the collector is compacting and thus moving code |
// around. |
- ASSERT(MarkCompactCollector::IsCompacting()); |
+ ASSERT(MarkCompactCollector::HasCompacted()); |
ASSERT(thread->stack_is_cooked()); |
for (StackFrameIterator it(thread); !it.done(); it.Advance()) { |
it.frame()->Uncook(); |