llvm.org GIT mirror llvm / 169d408
Forgot to commit this file. Add a clear() method to remove all ranges and value numbers for a live interval. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@61459 91177308-0d34-0410-b5e6-96231b3b80d8 Owen Anderson 11 years ago
1 changed file(s) with 10 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
144144 while (I->end <= Pos) ++I;
145145 return I;
146146 }
147
148 void clear() {
149 while (!valnos.empty()) {
150 VNInfo *VNI = valnos.back();
151 valnos.pop_back();
152 VNI->~VNInfo();
153 }
154
155 ranges.clear();
156 }
147157
148158 /// isStackSlot - Return true if this is a stack slot interval.
149159 ///