mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-28 19:31:58 +00:00
fix warning when assertions disabled.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@52589 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
48a0eec1da
commit
9d2c9bd113
@ -91,8 +91,7 @@ bool IntervalPartition::runOnFunction(Function &F) {
|
||||
//
|
||||
IntervalPartition::IntervalPartition(IntervalPartition &IP, bool)
|
||||
: FunctionPass((intptr_t) &ID) {
|
||||
Interval *FunctionStart = IP.getRootInterval();
|
||||
assert(FunctionStart && "Cannot operate on empty IntervalPartitions!");
|
||||
assert(IP.getRootInterval() && "Cannot operate on empty IntervalPartitions!");
|
||||
|
||||
// Pass false to intervals_begin because we take ownership of it's memory
|
||||
interval_part_interval_iterator I = intervals_begin(IP, false);
|
||||
|
Loading…
Reference in New Issue
Block a user