diff options
Diffstat (limited to 'contrib/llvm-project/llvm/utils/TableGen/X86DisassemblerTables.cpp')
-rw-r--r-- | contrib/llvm-project/llvm/utils/TableGen/X86DisassemblerTables.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/llvm-project/llvm/utils/TableGen/X86DisassemblerTables.cpp b/contrib/llvm-project/llvm/utils/TableGen/X86DisassemblerTables.cpp index 76e4fd9a13ee..331664f875b7 100644 --- a/contrib/llvm-project/llvm/utils/TableGen/X86DisassemblerTables.cpp +++ b/contrib/llvm-project/llvm/utils/TableGen/X86DisassemblerTables.cpp @@ -763,7 +763,7 @@ void DisassemblerTables::emitOpcodeDecision(raw_ostream &o1, raw_ostream &o2, } if (index == 256) { // If all 256 entries are MODRM_ONEENTRY, omit output. - assert(MODRM_ONEENTRY == 0); + static_assert(MODRM_ONEENTRY == 0, ""); --i2; o2 << "},\n"; } else { |