projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[opaque pointer types] Use the pointee type loaded from bitcode when constructing...
[oota-llvm.git]
/
lib
/
IR
/
Instructions.cpp
diff --git
a/lib/IR/Instructions.cpp
b/lib/IR/Instructions.cpp
index 85b7521f31655d76ade65ebbbd372ee94513a434..1c831ccd2892a865da4f2d032d76a0a9fa4e1169 100644
(file)
--- a/
lib/IR/Instructions.cpp
+++ b/
lib/IR/Instructions.cpp
@@
-945,9
+945,9
@@
LoadInst::LoadInst(Value *Ptr, const Twine &Name, bool isVolatile,
BasicBlock *InsertAE)
: LoadInst(Ptr, Name, isVolatile, /*Align=*/0, InsertAE) {}
BasicBlock *InsertAE)
: LoadInst(Ptr, Name, isVolatile, /*Align=*/0, InsertAE) {}
-LoadInst::LoadInst(Value *Ptr, const Twine &Name, bool isVolatile,
+LoadInst::LoadInst(
Type *Ty,
Value *Ptr, const Twine &Name, bool isVolatile,
unsigned Align, Instruction *InsertBef)
unsigned Align, Instruction *InsertBef)
- : LoadInst(Ptr, Name, isVolatile, Align, NotAtomic, CrossThread,
+ : LoadInst(
Ty,
Ptr, Name, isVolatile, Align, NotAtomic, CrossThread,
InsertBef) {}
LoadInst::LoadInst(Value *Ptr, const Twine &Name, bool isVolatile,
InsertBef) {}
LoadInst::LoadInst(Value *Ptr, const Twine &Name, bool isVolatile,