8 #define ELEMENTS(a) (sizeof(a)/sizeof((a)[0]))
11 #define vm_assert(cond) { \
12 if(vm_sanitychecklevel > 0 && !(cond)) { \
13 printf("VM:%s:%d: assert failed: %s\n", \
14 __FILE__, __LINE__, #cond); \
15 panic("assert failed"); \
19 #define vm_assert(cond) ;