diff options
author | Daniel Dunbar <daniel@zuster.org> | 2009-08-11 17:38:47 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2009-08-11 17:38:47 +0000 |
commit | c588d558100b488ff20f560b5c35d3bec4790aff (patch) | |
tree | e0661f36674a31cc5de20828397302d16ffa9404 /include/llvm | |
parent | 5731020b2f5a723480aa0fa1e064cb6b3f8d12a7 (diff) | |
download | external_llvm-c588d558100b488ff20f560b5c35d3bec4790aff.zip external_llvm-c588d558100b488ff20f560b5c35d3bec4790aff.tar.gz external_llvm-c588d558100b488ff20f560b5c35d3bec4790aff.tar.bz2 |
Remove some unnecessary LoadInst constructors, missed during Twinification.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78689 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm')
-rw-r--r-- | include/llvm/Instructions.h | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/include/llvm/Instructions.h b/include/llvm/Instructions.h index afae629..d326141 100644 --- a/include/llvm/Instructions.h +++ b/include/llvm/Instructions.h @@ -248,7 +248,7 @@ class LoadInst : public UnaryInstruction { public: LoadInst(Value *Ptr, const Twine &NameStr, Instruction *InsertBefore); LoadInst(Value *Ptr, const Twine &NameStr, BasicBlock *InsertAtEnd); - LoadInst(Value *Ptr, const Twine &NameStr, bool isVolatile = false, + LoadInst(Value *Ptr, const Twine &NameStr = "", bool isVolatile = false, Instruction *InsertBefore = 0); LoadInst(Value *Ptr, const Twine &NameStr, bool isVolatile, unsigned Align, Instruction *InsertBefore = 0); @@ -257,13 +257,6 @@ public: LoadInst(Value *Ptr, const Twine &NameStr, bool isVolatile, unsigned Align, BasicBlock *InsertAtEnd); - LoadInst(Value *Ptr, const char *NameStr, Instruction *InsertBefore); - LoadInst(Value *Ptr, const char *NameStr, BasicBlock *InsertAtEnd); - explicit LoadInst(Value *Ptr, const char *NameStr = 0, - bool isVolatile = false, Instruction *InsertBefore = 0); - LoadInst(Value *Ptr, const char *NameStr, bool isVolatile, - BasicBlock *InsertAtEnd); - /// isVolatile - Return true if this is a load from a volatile memory /// location. /// |