Use genTypeCanRepresentValue only with small types
authorMike Danes <onemihaid@hotmail.com>
Mon, 29 Jan 2018 16:31:36 +0000 (18:31 +0200)
committerMike Danes <onemihaid@hotmail.com>
Mon, 29 Jan 2018 16:31:36 +0000 (18:31 +0200)
commit498c08bea39d9ab8edf243dc38524334aff6cc89
tree5264561a5ddf71644581819f7aaf5f7f68449854
parente07292d009d47a4920c19c669796b6893b307ec4
Use genTypeCanRepresentValue only with small types

It's not needed and it's problematic to make it work for other types. In the JIT constant values are represented using `ssize_t` and you can't distinguish between `-1` and `UINT64_MAX`.
src/jit/codegenxarch.cpp
src/jit/compiler.hpp
src/jit/lower.cpp