aboutsummaryrefslogtreecommitdiff
path: root/utils/TableGen
diff options
context:
space:
mode:
authorChad Rosier <mcrosier@apple.com>2012-09-03 20:37:01 +0000
committerChad Rosier <mcrosier@apple.com>2012-09-03 20:37:01 +0000
commit2dc88d94c34294184368ef0d9663342be2d42811 (patch)
treeccec323dfe7e313e9e5915c6267c03e4d5fef714 /utils/TableGen
parent2cc97def7434345e399e4f5f3f2001d6d7a93c6f (diff)
[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
Diffstat (limited to 'utils/TableGen')
-rw-r--r--utils/TableGen/AsmMatcherEmitter.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/utils/TableGen/AsmMatcherEmitter.cpp b/utils/TableGen/AsmMatcherEmitter.cpp
index a4744bad7e..3c107a22e0 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