diff options
author | Chris Lattner <sabre@nondot.org> | 2008-01-07 05:19:29 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2008-01-07 05:19:29 +0000 |
commit | 8f707e15fbd09ca948b86419bcb0c92470827ac9 (patch) | |
tree | 16e04d219c3d9795cc8154bcbea580bdb98ce055 /lib/Target | |
parent | 4764189298b17432f79f01f4b707fc0a0ba33a3c (diff) |
rename hasVariableOperands() -> isVariadic(). Add some comments.
Evan, please review the comments I added to getNumDefs to make sure
that they are accurate, thx.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45687 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target')
-rw-r--r-- | lib/Target/X86/X86CodeEmitter.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/Target/X86/X86CodeEmitter.cpp b/lib/Target/X86/X86CodeEmitter.cpp index c4461a751a..d25ede168d 100644 --- a/lib/Target/X86/X86CodeEmitter.cpp +++ b/lib/Target/X86/X86CodeEmitter.cpp @@ -799,6 +799,5 @@ void Emitter::emitInstruction(const MachineInstr &MI, break; } - assert((Desc->Flags & M_VARIABLE_OPS) != 0 || - CurOp == NumOps && "Unknown encoding!"); + assert((Desc->isVariadic() || CurOp == NumOps) && "Unknown encoding!"); } |