projects
/
platform
/
upstream
/
dotnet
/
runtime.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
04f6e9f
)
[Ryujit/ARM32] Fix wrong comparion
author
Hyung-Kyu Choi
<hk0110.choi@samsung.com>
Fri, 10 Mar 2017 07:15:23 +0000
(16:15 +0900)
committer
Hyung-Kyu Choi
<hk0110.choi@samsung.com>
Fri, 10 Mar 2017 07:15:23 +0000
(16:15 +0900)
Fix wrong comparision.
Signed-off-by: Hyung-Kyu Choi <hk0110.choi@samsung.com>
Commit migrated from https://github.com/dotnet/coreclr/commit/
f6d581ce298749e70cba1f4441fe1a599486d090
src/coreclr/src/jit/codegenarm.cpp
patch
|
blob
|
history
diff --git
a/src/coreclr/src/jit/codegenarm.cpp
b/src/coreclr/src/jit/codegenarm.cpp
index
a1e339d
..
a7d4cbb
100644
(file)
--- a/
src/coreclr/src/jit/codegenarm.cpp
+++ b/
src/coreclr/src/jit/codegenarm.cpp
@@
-386,7
+386,7
@@
void CodeGen::genCodeForBinary(GenTree* treeNode)
assert(oper == GT_ADD || oper == GT_SUB || oper == GT_ADD_LO || oper == GT_ADD_HI || oper == GT_SUB_LO ||
oper == GT_SUB_HI || oper == GT_OR || oper == GT_XOR || oper == GT_AND);
- if ((oper == GT_ADD || oper == GT_SUB ||
GT_ADD_HI ||
GT_SUB_HI) && treeNode->gtOverflow())
+ if ((oper == GT_ADD || oper == GT_SUB ||
oper == GT_ADD_HI || oper ==
GT_SUB_HI) && treeNode->gtOverflow())
{
// This is also checked in the importer.
NYI("Overflow not yet implemented");