diff options
| author | ov-4 <hausemasterstream@gmail.com> | 2026-01-30 03:29:51 +0000 |
|---|---|---|
| committer | ov-4 <hausemasterstream@gmail.com> | 2026-01-30 03:29:51 +0000 |
| commit | 80420b0f92f42edc0a3cac4490a08adb8b2457dc (patch) | |
| tree | ddb400d8a6a7841479a7169c79a162173eb07384 /lib/CodeGen/RuntimeCheck.cc | |
| parent | 766a4b8e5236bffb40984439a79186c5ee823ff8 (diff) | |
Changed INTEGER from i32 to i64
Diffstat (limited to 'lib/CodeGen/RuntimeCheck.cc')
| -rw-r--r-- | lib/CodeGen/RuntimeCheck.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/RuntimeCheck.cc b/lib/CodeGen/RuntimeCheck.cc index cab50d5..d51d78a 100644 --- a/lib/CodeGen/RuntimeCheck.cc +++ b/lib/CodeGen/RuntimeCheck.cc @@ -47,7 +47,7 @@ void RuntimeCheck::emitErrorAndExit(Value *Condition, Value *Msg, int Line) { } void RuntimeCheck::emitDivZeroCheck(Value *Divisor, int Line) { - Value *IsZero = Builder.CreateICmpEQ(Divisor, ConstantInt::get(TheContext, APInt(32, 0)), "is_zero"); + Value *IsZero = Builder.CreateICmpEQ(Divisor, ConstantInt::get(TheContext, APInt(64, 0)), "is_zero"); emitErrorAndExit(IsZero, DivZeroMsg, Line); } |
