[crt] Inline TYPE_CHECK_ARG and PERFORM_INLINE_TYPE_CHECK.
[crt] Missing braces around for loops.