mirror of
https://github.com/RPCS3/llvm.git
synced 2025-04-02 21:31:41 +00:00
TableGen: Add initializer.
Keep GCC's warnings happy. It can't reason out that the state machine won't ever hit the potentially uninitialized use in OPC_FilterValue. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@164041 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
78fff8ec48
commit
9bb938c540
@ -1882,7 +1882,7 @@ static void emitDecodeInstruction(formatted_raw_ostream &OS) {
|
||||
<< " uint64_t Bits = STI.getFeatureBits();\n"
|
||||
<< "\n"
|
||||
<< " const uint8_t *Ptr = DecodeTable;\n"
|
||||
<< " uint32_t CurFieldValue;\n"
|
||||
<< " uint32_t CurFieldValue = 0;\n"
|
||||
<< " DecodeStatus S = MCDisassembler::Success;\n"
|
||||
<< " for (;;) {\n"
|
||||
<< " ptrdiff_t Loc = Ptr - DecodeTable;\n"
|
||||
|
Loading…
x
Reference in New Issue
Block a user