diff options
author | Daniel Dunbar <daniel@zuster.org> | 2010-03-31 17:00:45 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2010-03-31 17:00:45 +0000 |
commit | f28700879116ee0343bfd05317d46756142de6b4 (patch) | |
tree | e50a57cbcd41391a5ea042541de043d86427b174 /compiler-rt/lib/negvsi2.c | |
parent | f4512a3a9d755d254596eba26eb83d21813a23e1 (diff) | |
download | bcm5719-llvm-f28700879116ee0343bfd05317d46756142de6b4.tar.gz bcm5719-llvm-f28700879116ee0343bfd05317d46756142de6b4.zip |
Use a private compilerrt_abort() define instead of calling abort directly.
- Fiddling with abort directly is annoying given the way we use system includes, although it would be nice to fix this so we could make sure calling abort directly is verboten.
llvm-svn: 100014
Diffstat (limited to 'compiler-rt/lib/negvsi2.c')
-rw-r--r-- | compiler-rt/lib/negvsi2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler-rt/lib/negvsi2.c b/compiler-rt/lib/negvsi2.c index a7fbbbd1fcc..e5a36a5dacf 100644 --- a/compiler-rt/lib/negvsi2.c +++ b/compiler-rt/lib/negvsi2.c @@ -24,6 +24,6 @@ __negvsi2(si_int a) { const si_int MIN = (si_int)1 << ((int)(sizeof(si_int) * CHAR_BIT)-1); if (a == MIN) - abort(); + compilerrt_abort(); return -a; } |