diff options
author | Eric Christopher <echristo@apple.com> | 2009-07-25 02:28:41 +0000 |
---|---|---|
committer | Eric Christopher <echristo@apple.com> | 2009-07-25 02:28:41 +0000 |
commit | a3500da5592aee83675d6714d4f1e9d5ad96d1f2 (patch) | |
tree | bb33a6d5043231c6eab6910c6e750218bb23b89a /lib/Bitcode/Reader/BitcodeReader.cpp | |
parent | 4df605ba4617f3666aeaa2f101fc2e082b57117b (diff) |
Move ExtractElementInst to ::Create instead of new. Update all uses.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77044 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Bitcode/Reader/BitcodeReader.cpp')
-rw-r--r-- | lib/Bitcode/Reader/BitcodeReader.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Bitcode/Reader/BitcodeReader.cpp b/lib/Bitcode/Reader/BitcodeReader.cpp index cf90c64ac6..dadfb9ebbc 100644 --- a/lib/Bitcode/Reader/BitcodeReader.cpp +++ b/lib/Bitcode/Reader/BitcodeReader.cpp @@ -1666,7 +1666,7 @@ bool BitcodeReader::ParseFunctionBody(Function *F) { if (getValueTypePair(Record, OpNum, NextValueNo, Vec) || getValue(Record, OpNum, Type::Int32Ty, Idx)) return Error("Invalid EXTRACTELT record"); - I = new ExtractElementInst(Vec, Idx); + I = ExtractElementInst::Create(Vec, Idx); break; } |