diff --git a/utils/TableGen/AsmMatcherEmitter.cpp b/utils/TableGen/AsmMatcherEmitter.cpp index e4b3a4bf84d..f3df4ecc97f 100644 --- a/utils/TableGen/AsmMatcherEmitter.cpp +++ b/utils/TableGen/AsmMatcherEmitter.cpp @@ -1899,7 +1899,7 @@ static void emitConvertToMCInst(CodeGenTarget &Target, StringRef ClassName, } // Finish up the converter driver function. - CvtOS << " }\n }\n return;\n}\n\n"; + CvtOS << " }\n }\n}\n\n"; // Finish up the operand number lookup function. OpOS << " }\n }\n return MCOperandNum;\n}\n\n";