Squelch compile-time warning (profile build).
llvm-svn: 13228
This commit is contained in:
parent
4685e26bc7
commit
1846321345
|
@ -310,7 +310,7 @@ void BytecodeParser::ParseInstruction(const unsigned char *&Buf,
|
||||||
if (!TopTy) throw std::string("Invalid getelementptr instruction!");
|
if (!TopTy) throw std::string("Invalid getelementptr instruction!");
|
||||||
|
|
||||||
unsigned ValIdx = Args[i];
|
unsigned ValIdx = Args[i];
|
||||||
unsigned IdxTy;
|
unsigned IdxTy = 0;
|
||||||
if (!hasRestrictedGEPTypes) {
|
if (!hasRestrictedGEPTypes) {
|
||||||
// Struct indices are always uints, sequential type indices can be any
|
// Struct indices are always uints, sequential type indices can be any
|
||||||
// of the 32 or 64-bit integer types. The actual choice of type is
|
// of the 32 or 64-bit integer types. The actual choice of type is
|
||||||
|
|
Loading…
Reference in New Issue