projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6c7276f
)
Use ExtractElementInst::Create instead of new; patch by Artur Pietrek!
author
Daniel Dunbar
<daniel@zuster.org>
Sun, 22 Nov 2009 18:27:43 +0000
(18:27 +0000)
committer
Daniel Dunbar
<daniel@zuster.org>
Sun, 22 Nov 2009 18:27:43 +0000
(18:27 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@89606
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/Support/NoFolder.h
patch
|
blob
|
history
diff --git
a/include/llvm/Support/NoFolder.h
b/include/llvm/Support/NoFolder.h
index 1f671c19250d2e640f4d8a8b279c851e194ec0f3..7f2f1497f39f6d8bbcb64fbaf38ffa081dcd222b 100644
(file)
--- a/
include/llvm/Support/NoFolder.h
+++ b/
include/llvm/Support/NoFolder.h
@@
-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,