Index: src/frames.cc |
diff --git a/src/frames.cc b/src/frames.cc |
index e0df15964709a732d9bcea6049a45f15f8c8bbee..e3584476b675f7c56fe9ae90c199186e68adcb85 100644 |
--- a/src/frames.cc |
+++ b/src/frames.cc |
@@ -1338,6 +1338,7 @@ |
StackHandlerIterator it(this, top_handler()); |
DCHECK(!it.done()); |
StackHandler* handler = it.handler(); |
+ DCHECK(handler->is_js_entry()); |
handler->Iterate(v, LookupCode()); |
#ifdef DEBUG |
// Make sure that the entry frame does not contain more than one |