mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-17 05:29:24 +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 unsigned Idx) {
|
||||
const unsigned Idxs[1] = { Idx };
|
||||
return getIndexedType(Agg, &Idxs[0], 1);
|
||||
unsigned Idx) {
|
||||
return getIndexedType(Agg, &Idx, 1);
|
||||
}
|
||||
|
||||
ExtractValueInst::ExtractValueInst(Value *Agg,
|
||||
|
Loading…
Reference in New Issue
Block a user