Update for API change.

llvm-svn: 75569
This commit is contained in:
Owen Anderson 2009-07-14 00:38:16 +00:00
parent f2c9922f50
commit 2571eb6453
1 changed files with 1 additions and 1 deletions

View File

@ -170,7 +170,7 @@ public:
unsigned byte = V.getLoBits(curBits).getZExtValue() << (fieldOffset & 7);
do {
llvm::Constant* byteC = llvm::ConstantInt::get(llvm::Type::Int8Ty, byte);
Elts[i] = llvm::ConstantExpr::getOr(Elts[i], byteC);
Elts[i] = CGM.getLLVMContext().getConstantExprOr(Elts[i], byteC);
++i;
V = V.lshr(curBits);
bitsToInsert -= curBits;