Fixed enum comparison in x86_64 backend
First half of the type_cmp() refactor
Compiling refactor of type_cmp()
Allow NULL in assignment to function pointers