mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-14 15:28:20 +00:00
Remove unused variable for compilation by VC++.
Patch contributed by Morten Ofstad. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17830 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -336,7 +336,7 @@ void SROA::CanonicalizeAllocaUsers(AllocationInst *AI) {
|
|||||||
for (Value::use_iterator UI = AI->use_begin(), E = AI->use_end();
|
for (Value::use_iterator UI = AI->use_begin(), E = AI->use_end();
|
||||||
UI != E; ) {
|
UI != E; ) {
|
||||||
GetElementPtrInst *GEPI = cast<GetElementPtrInst>(*UI++);
|
GetElementPtrInst *GEPI = cast<GetElementPtrInst>(*UI++);
|
||||||
gep_type_iterator I = gep_type_begin(GEPI), E = gep_type_end(GEPI);
|
gep_type_iterator I = gep_type_begin(GEPI);
|
||||||
++I;
|
++I;
|
||||||
|
|
||||||
if (const ArrayType *AT = dyn_cast<ArrayType>(*I)) {
|
if (const ArrayType *AT = dyn_cast<ArrayType>(*I)) {
|
||||||
|
Reference in New Issue
Block a user