mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-14 16:33:28 +00:00
Squelch compile-time warning (profile build).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13228 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
5cf1acff3c
commit
500acf72cc
@ -310,7 +310,7 @@ void BytecodeParser::ParseInstruction(const unsigned char *&Buf,
|
||||
if (!TopTy) throw std::string("Invalid getelementptr instruction!");
|
||||
|
||||
unsigned ValIdx = Args[i];
|
||||
unsigned IdxTy;
|
||||
unsigned IdxTy = 0;
|
||||
if (!hasRestrictedGEPTypes) {
|
||||
// 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
|
||||
|
Loading…
x
Reference in New Issue
Block a user