Fix issue with signed/unsigned comparison
authorBruce Forstall <brucefo@microsoft.com>
Fri, 29 Jun 2018 19:05:59 +0000 (12:05 -0700)
committerBruce Forstall <brucefo@microsoft.com>
Fri, 29 Jun 2018 19:05:59 +0000 (12:05 -0700)
commitd6f814d384d48f97944af97559fadfcf634744bf
tree2a46420815dfc972fab8d9faa684dc030e4fd171
parent022f14f8575a8c371e0fc4a83ab7aef01ab79d7b
Fix issue with signed/unsigned comparison

On Mac (maybe on other platforms using clang?) the following set of
comparisons in the emitter were done as unsigned:
```
(val >= 0xFFFFFFFF80000000LL)
```
even though 'val' is signed. This led to assertion failures. On Windows,
the comparisons were signed.

To fix this, cast the constant to the signed `ssize_t` type (to match `val`).

Fixes #18341
src/jit/emitxarch.cpp