[llvm-commits] [llvm] r48827 - /llvm/branches/ggreif/use-diet/lib/Target/X86/X86TargetAsmInfo.cpp
Gabor Greif
ggreif at gmail.com
Wed Mar 26 09:54:57 PDT 2008
Author: ggreif
Date: Wed Mar 26 11:54:57 2008
New Revision: 48827
URL: http://llvm.org/viewvc/llvm-project?rev=48827&view=rev
Log:
Create-ify Target/X86
Modified:
llvm/branches/ggreif/use-diet/lib/Target/X86/X86TargetAsmInfo.cpp
Modified: llvm/branches/ggreif/use-diet/lib/Target/X86/X86TargetAsmInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/branches/ggreif/use-diet/lib/Target/X86/X86TargetAsmInfo.cpp?rev=48827&r1=48826&r2=48827&view=diff
==============================================================================
--- llvm/branches/ggreif/use-diet/lib/Target/X86/X86TargetAsmInfo.cpp (original)
+++ llvm/branches/ggreif/use-diet/lib/Target/X86/X86TargetAsmInfo.cpp Wed Mar 26 11:54:57 2008
@@ -252,7 +252,7 @@
Constant *Int = Intrinsic::getDeclaration(M, Intrinsic::bswap, Tys, 1);
Value *Op = CI->getOperand(1);
- Op = new CallInst(Int, Op, CI->getName(), CI);
+ Op = CallInst::Create(Int, Op, CI->getName(), CI);
CI->replaceAllUsesWith(Op);
CI->eraseFromParent();
More information about the llvm-commits
mailing list