[llvm-commits] CVS: llvm/lib/AsmParser/llvmAsmParser.y
Chris Lattner
lattner at cs.uiuc.edu
Mon Jan 12 13:07:03 PST 2004
Changes in directory llvm/lib/AsmParser:
llvmAsmParser.y updated: 1.147 -> 1.148
---
Log message:
Don't use ConstantExpr::getShift anymore
---
Diffs of the changes: (+1 -1)
Index: llvm/lib/AsmParser/llvmAsmParser.y
diff -u llvm/lib/AsmParser/llvmAsmParser.y:1.147 llvm/lib/AsmParser/llvmAsmParser.y:1.148
--- llvm/lib/AsmParser/llvmAsmParser.y:1.147 Tue Dec 30 20:18:11 2003
+++ llvm/lib/AsmParser/llvmAsmParser.y Mon Jan 12 13:06:28 2004
@@ -1218,7 +1218,7 @@
ThrowException("Shift count for shift constant must be unsigned byte!");
if (!$3->getType()->isInteger())
ThrowException("Shift constant expression requires integer operand!");
- $$ = ConstantExpr::getShift($1, $3, $5);
+ $$ = ConstantExpr::get($1, $3, $5);
};
More information about the llvm-commits
mailing list