[ms-inline asm] Add the convertToMapAndConstraints() function that is used to
[oota-llvm.git] / utils / TableGen / FixedLenDecoderEmitter.cpp
index aa6d7962a0720a5972179603b6db43541fb1835a..e755c1ce9cb5aab3bacec94512bac3a12b2933ac 100644 (file)
@@ -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"