@@ -83,7 +83,7 @@ static cl::opt<bool> LargeTable(
8383 " in the table instead of the default 16 bits." ),
8484 cl::init(false ), cl::cat(DisassemblerEmitterCat));
8585
86- static cl::opt<bool > UseFnTableInDecodetoMCInst (
86+ static cl::opt<bool > UseFnTableInDecodeToMCInst (
8787 " use-fn-table-in-decode-to-mcinst" ,
8888 cl::desc (
8989 " Use a table of function pointers instead of a switch case in the\n "
@@ -1087,7 +1087,7 @@ void DecoderEmitter::emitDecoderFunction(formatted_raw_ostream &OS,
10871087 " DecodeStatus S, InsnType insn, MCInst &MI, uint64_t Address, const "
10881088 " MCDisassembler *Decoder, bool &DecodeComplete" ;
10891089
1090- if (UseFnTableInDecodetoMCInst ) {
1090+ if (UseFnTableInDecodeToMCInst ) {
10911091 // Emit a function for each case first.
10921092 for (const auto &[Index, Decoder] : enumerate(Decoders)) {
10931093 OS << Indent << " template <typename InsnType>\n " ;
@@ -1110,7 +1110,7 @@ void DecoderEmitter::emitDecoderFunction(formatted_raw_ostream &OS,
11101110 Indent += 2 ;
11111111 OS << Indent << " DecodeComplete = true;\n " ;
11121112
1113- if (UseFnTableInDecodetoMCInst ) {
1113+ if (UseFnTableInDecodeToMCInst ) {
11141114 // Build a table of function pointers.
11151115 OS << Indent << " using DecodeFnTy = DecodeStatus (*)(" << DecodeParams
11161116 << " );\n " ;
@@ -1311,7 +1311,7 @@ std::pair<unsigned, bool> FilterChooser::getDecoderIndex(DecoderSet &Decoders,
13111311 // FIXME: emitDecoder() function can take a buffer directly rather than
13121312 // a stream.
13131313 raw_svector_ostream S (Decoder);
1314- indent Indent (UseFnTableInDecodetoMCInst ? 2 : 4 );
1314+ indent Indent (UseFnTableInDecodeToMCInst ? 2 : 4 );
13151315 bool HasCompleteDecoder = emitDecoder (S, Indent, Opc);
13161316
13171317 // Using the full decoder string as the key value here is a bit
0 commit comments