diff --git a/runtime.c b/runtime.c index 50d62e8..d4e262c 100644 --- a/runtime.c +++ b/runtime.c @@ -347,7 +347,7 @@ const char *class_getIvarLayout(Class cls) const char * class_getName(Class cls) { - CHECK_ARG(cls); + if (Nil == cls) { return "nil"; } return cls->name; }