mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 11:42:57 +01:00
avoid segfaulting
*Quotient and *Remainder don't have to be initialized. llvm-svn: 208238
This commit is contained in:
parent
8f355b84ae
commit
866eb1eecf
@ -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