mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-19 11:02:59 +02:00
Simplify this code. Thanks Chris!
llvm-svn: 52514
This commit is contained in:
parent
4006f4cdf0
commit
bcddb92f4e
@ -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