[llvm-commits] CVS: llvm/utils/TableGen/Record.cpp
Chris Lattner
lattner at cs.uiuc.edu
Tue Apr 19 08:32:47 PDT 2005
Changes in directory llvm/utils/TableGen:
Record.cpp updated: 1.40 -> 1.41
---
Log message:
fix bogus warning
---
Diffs of the changes: (+1 -0)
Record.cpp | 1 +
1 files changed, 1 insertion(+)
Index: llvm/utils/TableGen/Record.cpp
diff -u llvm/utils/TableGen/Record.cpp:1.40 llvm/utils/TableGen/Record.cpp:1.41
--- llvm/utils/TableGen/Record.cpp:1.40 Mon Apr 18 22:36:21 2005
+++ llvm/utils/TableGen/Record.cpp Tue Apr 19 10:32:30 2005
@@ -303,6 +303,7 @@
int NewValue;
switch (Op) {
+ default: assert(0 && "Unknown binop");
case SHL: NewValue = Value << RHSi->getValue(); break;
case SRA: NewValue = Value >> RHSi->getValue(); break;
case SRL: NewValue = (unsigned)Value >> (unsigned)RHSi->getValue(); break;
More information about the llvm-commits
mailing list