mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-01 00:33:09 +00:00
avoid segfaulting
*Quotient and *Remainder don't have to be initialized. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@208238 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
bde4574fcb
commit
4842e7db63
@ -6975,8 +6975,7 @@ public:
|
||||
static void divide(ScalarEvolution &SE, const SCEV *Numerator,
|
||||
const SCEV *Denominator, const SCEV **Quotient,
|
||||
const SCEV **Remainder) {
|
||||
assert(Numerator && Denominator && *Quotient && *Remainder &&
|
||||
"Uninitialized SCEV");
|
||||
assert(Numerator && Denominator && "Uninitialized SCEV");
|
||||
|
||||
SCEVDivision D(SE, Numerator, Denominator);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user