diff options
author | Mike Danes <onemihaid@hotmail.com> | 2017-09-16 10:29:07 +0300 |
---|---|---|
committer | Mike Danes <onemihaid@hotmail.com> | 2017-09-16 10:29:07 +0300 |
commit | 6a49c7b5ea3aae26bafec5eb057f7b7f9ea5f1a6 (patch) | |
tree | 7aa1ade6ce91f74922b153feabed717eeb9a225a /src/jit/codegenlinear.cpp | |
parent | 08053aef66b1bf1d61de4ee744181ec265718327 (diff) | |
download | coreclr-6a49c7b5ea3aae26bafec5eb057f7b7f9ea5f1a6.tar.gz coreclr-6a49c7b5ea3aae26bafec5eb057f7b7f9ea5f1a6.tar.bz2 coreclr-6a49c7b5ea3aae26bafec5eb057f7b7f9ea5f1a6.zip |
Move genLongToIntCast call to codegenlinear
Diffstat (limited to 'src/jit/codegenlinear.cpp')
-rw-r--r-- | src/jit/codegenlinear.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/jit/codegenlinear.cpp b/src/jit/codegenlinear.cpp index 657d7799c1..643ef1751f 100644 --- a/src/jit/codegenlinear.cpp +++ b/src/jit/codegenlinear.cpp @@ -1895,6 +1895,12 @@ void CodeGen::genCodeForCast(GenTreeOp* tree) // Casts int32/uint32/int64/uint64 --> float/double genIntToFloatCast(tree); } +#ifndef _TARGET_64BIT_ + else if (varTypeIsLong(tree->gtOp1)) + { + genLongToIntCast(tree); + } +#endif // !_TARGET_64BIT_ else { // Casts int <--> int |