mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-09 13:33:17 +00:00
Use ExtractElementInst::Create instead of new; patch by Artur Pietrek!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@89606 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
6c7276f17e
commit
5a325e3663
@ -174,7 +174,7 @@ public:
|
||||
}
|
||||
|
||||
Value *CreateExtractElement(Constant *Vec, Constant *Idx) const {
|
||||
return new ExtractElementInst(Vec, Idx);
|
||||
return ExtractElementInst::Create(Vec, Idx);
|
||||
}
|
||||
|
||||
Value *CreateInsertElement(Constant *Vec, Constant *NewElt,
|
||||
|
Loading…
x
Reference in New Issue
Block a user