diff options
| author | Edward O'Callaghan <eocallaghan@auroraux.org> | 2009-09-03 09:12:20 +0000 |
|---|---|---|
| committer | Edward O'Callaghan <eocallaghan@auroraux.org> | 2009-09-03 09:12:20 +0000 |
| commit | 665671ec897f2f1ba7fe632895a47330389fda40 (patch) | |
| tree | 340c656a5ab1da4615e6ccc71476bede340c2629 /compiler-rt/lib/ucmpti2.c | |
| parent | d194e13b8d94c7eec1fcb7242b43860619fe881a (diff) | |
| download | bcm5719-llvm-665671ec897f2f1ba7fe632895a47330389fda40.tar.gz bcm5719-llvm-665671ec897f2f1ba7fe632895a47330389fda40.zip | |
Fix some files that got left behind in early changeset to unnamed unions fix. Credit to Roman Divacky.
llvm-svn: 80913
Diffstat (limited to 'compiler-rt/lib/ucmpti2.c')
| -rw-r--r-- | compiler-rt/lib/ucmpti2.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/compiler-rt/lib/ucmpti2.c b/compiler-rt/lib/ucmpti2.c index ba32b840315..0e7eea3e3d1 100644 --- a/compiler-rt/lib/ucmpti2.c +++ b/compiler-rt/lib/ucmpti2.c @@ -28,13 +28,13 @@ __ucmpti2(tu_int a, tu_int b) x.all = a; utwords y; y.all = b; - if (x.high < y.high) + if (x.s.high < y.s.high) return 0; - if (x.high > y.high) + if (x.s.high > y.s.high) return 2; - if (x.low < y.low) + if (x.s.low < y.s.low) return 0; - if (x.low > y.low) + if (x.s.low > y.s.low) return 2; return 1; } |

