mirror of
https://github.com/Zenithsiz/ftmemsim-valgrind.git
synced 2026-02-03 18:13:01 +00:00
DWARF comparisons should be signed. Patch from Jakub Jelinek.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11904
This commit is contained in:
parent
492f3fd0d1
commit
ca6a8e8db9
@ -1883,10 +1883,10 @@ UWord evalCfiExpr ( XArray* exprs, Int ix,
|
||||
case Cop_Shl: return wL << wR;
|
||||
case Cop_Shr: return wL >> wR;
|
||||
case Cop_Eq: return wL == wR ? 1 : 0;
|
||||
case Cop_Ge: return wL >= wR ? 1 : 0;
|
||||
case Cop_Gt: return wL > wR ? 1 : 0;
|
||||
case Cop_Le: return wL <= wR ? 1 : 0;
|
||||
case Cop_Lt: return wL < wR ? 1 : 0;
|
||||
case Cop_Ge: return (Word) wL >= (Word) wR ? 1 : 0;
|
||||
case Cop_Gt: return (Word) wL > (Word) wR ? 1 : 0;
|
||||
case Cop_Le: return (Word) wL <= (Word) wR ? 1 : 0;
|
||||
case Cop_Lt: return (Word) wL < (Word) wR ? 1 : 0;
|
||||
case Cop_Ne: return wL != wR ? 1 : 0;
|
||||
default: goto unhandled;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user