summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib/subvdi3.c
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2010-03-31 17:00:45 +0000
committerDaniel Dunbar <daniel@zuster.org>2010-03-31 17:00:45 +0000
commitf28700879116ee0343bfd05317d46756142de6b4 (patch)
treee50a57cbcd41391a5ea042541de043d86427b174 /compiler-rt/lib/subvdi3.c
parentf4512a3a9d755d254596eba26eb83d21813a23e1 (diff)
downloadbcm5719-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/subvdi3.c')
-rw-r--r--compiler-rt/lib/subvdi3.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler-rt/lib/subvdi3.c b/compiler-rt/lib/subvdi3.c
index 0261a5d7869..e4926b81646 100644
--- a/compiler-rt/lib/subvdi3.c
+++ b/compiler-rt/lib/subvdi3.c
@@ -26,12 +26,12 @@ __subvdi3(di_int a, di_int b)
if (b >= 0)
{
if (s > a)
- abort();
+ compilerrt_abort();
}
else
{
if (s <= a)
- abort();
+ compilerrt_abort();
}
return s;
}
OpenPOWER on IntegriCloud