Index: src/scopeinfo.h |
diff --git a/src/scopeinfo.h b/src/scopeinfo.h |
index 86c33f61ffaf3a1bd38bc8d38665a83ec0181c41..1c61f1115d23b50496c0e8815e6ac18fe51c49f6 100644 |
--- a/src/scopeinfo.h |
+++ b/src/scopeinfo.h |
@@ -107,7 +107,7 @@ class SerializedScopeInfo : public FixedArray { |
public : |
static SerializedScopeInfo* cast(Object* object) { |
- ASSERT(object->IsFixedArray()); |
+ ASSERT(object->IsSerializedScopeInfo()); |
return reinterpret_cast<SerializedScopeInfo*>(object); |
} |