compiler: introduce and use `MType::is_c_primitive`
authorJean Privat <jean@pryen.org>
Mon, 23 Mar 2015 14:30:34 +0000 (21:30 +0700)
committerJean Privat <jean@pryen.org>
Mon, 23 Mar 2015 14:30:34 +0000 (21:30 +0700)
commitbe86e36868f07afb3801a56ccde79377d96c0477
treeb6c70e7991b6197093d5602afd6cd0bcf2e9f359
parent1d30ecd0b6da661cc26dc6b21451b6d348a88125
compiler: introduce and use `MType::is_c_primitive`

Thus remove all comparison to "val*" in the code, this is cleaner.

Signed-off-by: Jean Privat <jean@pryen.org>
src/compiler/abstract_compiler.nit
src/compiler/global_compiler.nit
src/compiler/separate_compiler.nit
src/compiler/separate_erasure_compiler.nit