Index: include/parrot/exceptions.h =================================================================== --- include/parrot/exceptions.h (版本 35334) +++ include/parrot/exceptions.h (工作副本) @@ -278,13 +278,13 @@ # define PARROT_ASSERT(x) ((void)0) # define PARROT_ASSERT_ARG(x) (0) # define ASSERT_ARGS(a) -#else +#else /* NDEBUG */ # define PARROT_ASSERT(x) (x) ? ((void)0) : Parrot_confess(#x, __FILE__, __LINE__) # define PARROT_ASSERT_ARG(x) ((x) ? (0) : (Parrot_confess(#x, __FILE__, __LINE__), 0)) # ifdef _MSC_VER # define ASSERT_ARGS(a) -# else +# else /* _MSC_VER */ # define ASSERT_ARGS(a) ASSERT_ARGS_ ## a ; # endif /* _MSC_VER */ Index: include/parrot/interpreter.h =================================================================== --- include/parrot/interpreter.h (版本 35334) +++ include/parrot/interpreter.h (工作副本) @@ -1014,10 +1014,6 @@ #endif /* PARROT_IN_CORE */ -#ifndef PMC_IS_NULL -# define PMC_IS_NULL(pmc) PMC_is_null(NULL, (pmc)) -#endif - #endif /* PARROT_INTERPRETER_H_GUARD */ /* Index: src/pmc.c =================================================================== --- src/pmc.c (版本 35334) +++ src/pmc.c (工作副本) @@ -84,11 +84,7 @@ PMC_is_null(SHIM_INTERP, ARGIN_NULLOK(const PMC *pmc)) { ASSERT_ARGS(PMC_is_null) -#if PARROT_CATCH_NULL - return pmc == PMCNULL || pmc == NULL; -#else - return pmc == NULL; -#endif + return PMC_IS_NULL(pmc); } /*