Index: src/frames.cc |
diff --git a/src/frames.cc b/src/frames.cc |
index 227fa67d54b2ba854a2682c890a8ae6bc4efe9a5..415459e68d402c0d42a7bd18625ed49dbb0dced5 100644 |
--- a/src/frames.cc |
+++ b/src/frames.cc |
@@ -329,9 +329,6 @@ bool StackFrame::HasHandler() const { |
void StackFrame::CookFramesForThread(ThreadLocalTop* thread) { |
- // Only cooking frames when the collector is compacting and thus moving code |
- // around. |
- ASSERT(MarkCompactCollector::IsCompacting()); |
ASSERT(!thread->stack_is_cooked()); |
for (StackFrameIterator it(thread); !it.done(); it.Advance()) { |
it.frame()->Cook(); |
@@ -341,9 +338,6 @@ void StackFrame::CookFramesForThread(ThreadLocalTop* thread) { |
void StackFrame::UncookFramesForThread(ThreadLocalTop* thread) { |
- // Only uncooking frames when the collector is compacting and thus moving code |
- // around. |
- ASSERT(MarkCompactCollector::HasCompacted()); |
ASSERT(thread->stack_is_cooked()); |
for (StackFrameIterator it(thread); !it.done(); it.Advance()) { |
it.frame()->Uncook(); |