From 2dc88d94c34294184368ef0d9663342be2d42811 Mon Sep 17 00:00:00 2001 From: Chad Rosier Date: Mon, 3 Sep 2012 20:37:01 +0000 Subject: [PATCH] [ms-inline asm] Make comment more verbose and add an assert. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@163125 91177308-0d34-0410-b5e6-96231b3b80d8 --- utils/TableGen/AsmMatcherEmitter.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/utils/TableGen/AsmMatcherEmitter.cpp b/utils/TableGen/AsmMatcherEmitter.cpp index a4744bad7ea..3c107a22e07 100644 --- a/utils/TableGen/AsmMatcherEmitter.cpp +++ b/utils/TableGen/AsmMatcherEmitter.cpp @@ -1721,7 +1721,8 @@ static void emitConvertToMCInst(CodeGenTarget &Target, StringRef ClassName, << " ++MCOperandNum;\n" << " break;\n" << " case CVT_Tied:\n" - << " //Inst.getOperand(*(p + 1)));\n" + << " // FIXME: Tied operand calculation not supported.\n" + << " assert (0 && \"GetMCInstOperandNumImpl() doesn't support tied operands, yet!\");\n" << " break;\n"; // Pre-populate the operand conversion kinds with the standard always