Make sure DEBUG is a boolean

Signed-off-by: Stefan Marr <git@stefan-marr.de>
Prefer nullptr over NULL

Signed-off-by: Stefan Marr <git@stefan-marr.de>
Cleanup code duplication on object creation because of GC

There might be also a bug fix in VMObject.cpp, the clone looked bogus in the case of GC_TYPE!=GENERATIONAL

Make it work by using macros that add the generation parameter.

Signed-off-by: Stefan Marr <git@stefan-marr.de>
Unnecessary conditional compilation.

Signed-off-by: Stefan Marr <git@stefan-marr.de>