summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib/mulvti3.c
diff options
context:
space:
mode:
Diffstat (limited to 'compiler-rt/lib/mulvti3.c')
-rw-r--r--compiler-rt/lib/mulvti3.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/compiler-rt/lib/mulvti3.c b/compiler-rt/lib/mulvti3.c
index 080cd635ff8..778222ee6c9 100644
--- a/compiler-rt/lib/mulvti3.c
+++ b/compiler-rt/lib/mulvti3.c
@@ -31,13 +31,13 @@ __mulvti3(ti_int a, ti_int b)
{
if (b == 0 || b == 1)
return a * b;
- abort();
+ compilerrt_abort();
}
if (b == MIN)
{
if (a == 0 || a == 1)
return a * b;
- abort();
+ compilerrt_abort();
}
ti_int sa = a >> (N - 1);
ti_int abs_a = (a ^ sa) - sa;
@@ -48,12 +48,12 @@ __mulvti3(ti_int a, ti_int b)
if (sa == sb)
{
if (abs_a > MAX / abs_b)
- abort();
+ compilerrt_abort();
}
else
{
if (abs_a > MIN / -abs_b)
- abort();
+ compilerrt_abort();
}
return a * b;
}
OpenPOWER on IntegriCloud