mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-08 03:30:22 +00:00
Simplify this code. Thanks Chris!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@52514 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
c8af52c898
commit
09ef00f979
@ -1463,9 +1463,8 @@ const Type* ExtractValueInst::getIndexedType(const Type *Agg,
|
|||||||
}
|
}
|
||||||
|
|
||||||
const Type* ExtractValueInst::getIndexedType(const Type *Agg,
|
const Type* ExtractValueInst::getIndexedType(const Type *Agg,
|
||||||
const unsigned Idx) {
|
unsigned Idx) {
|
||||||
const unsigned Idxs[1] = { Idx };
|
return getIndexedType(Agg, &Idx, 1);
|
||||||
return getIndexedType(Agg, &Idxs[0], 1);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
ExtractValueInst::ExtractValueInst(Value *Agg,
|
ExtractValueInst::ExtractValueInst(Value *Agg,
|
||||||
|
Loading…
Reference in New Issue
Block a user