deprecated NDEBUG and introduced HCL_BUILD_DEBUG and HCL_BUILD_RELEASE

This commit is contained in:
hyunghwan.chung
2018-02-21 09:35:59 +00:00
parent ebb90dc133
commit 8233a6ae0a
75 changed files with 15087 additions and 10019 deletions

View File

@ -3751,7 +3751,7 @@ static int start_method (moo_t* moo, moo_oop_method_t method, moo_oow_t nargs)
MOO_ASSERT (moo, pf_name_index >= 0);
pfname = method->slot[pf_name_index];
#if !defined(NDEBUG)
#if defined(MOO_BUILD_DEBUG)
LOG_INST1 (moo, "preamble_named_primitive %zd", pf_name_index);
#endif
MOO_ASSERT (moo, MOO_OBJ_IS_CHAR_POINTER(pfname));