Index: src/full-codegen.h |
diff --git a/src/full-codegen.h b/src/full-codegen.h |
index f03e6e848d7e2f4dee5b35fa4baae11f79d6d752..44dd9b19728794efb42e99b2fd081054aa2fa90f 100644 |
--- a/src/full-codegen.h |
+++ b/src/full-codegen.h |
@@ -74,6 +74,7 @@ class FullCodeGenerator: public AstVisitor { |
info->zone()), |
back_edges_(2, info->zone()), |
ic_total_count_(0) { |
+ ASSERT(!info->IsStub()); |
Initialize(); |
} |