aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/TableGen/Record.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/llvm/TableGen/Record.h')
-rw-r--r--include/llvm/TableGen/Record.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/TableGen/Record.h b/include/llvm/TableGen/Record.h
index a07898a..5bf4f4f 100644
--- a/include/llvm/TableGen/Record.h
+++ b/include/llvm/TableGen/Record.h
@@ -1799,9 +1799,9 @@ struct LessRecordRegister {
unsigned LHSVal, RHSVal;
if (LHSPart.second.getAsInteger(10, LHSVal))
- assert("Unable to convert LHS to integer.");
+ assert(0 && "Unable to convert LHS to integer.");
if (RHSPart.second.getAsInteger(10, RHSVal))
- assert("Unable to convert RHS to integer.");
+ assert(0 && "Unable to convert RHS to integer.");
if (LHSVal != RHSVal)
return LHSVal < RHSVal;
}