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:
015b714
)
Prevent warning about conversion from 64-bit to 32-bit by (yuck) casting...
author
Bill Wendling
<isanbard@gmail.com>
Fri, 19 Sep 2008 18:34:40 +0000
(18:34 +0000)
committer
Bill Wendling
<isanbard@gmail.com>
Fri, 19 Sep 2008 18:34:40 +0000
(18:34 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@56359
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/Constants.h
patch
|
blob
|
history
diff --git
a/include/llvm/Constants.h
b/include/llvm/Constants.h
index efae25525d26b5e57f6053bc3e71a9e490d148d9..926f131ef5eb193428a2eac6e183a118fb8dc3ca 100644
(file)
--- a/
include/llvm/Constants.h
+++ b/
include/llvm/Constants.h
@@
-753,7
+753,7
@@
public:
/// operands replaced with the specified values. The specified operands must
/// match count and type with the existing ones.
Constant *getWithOperands(const std::vector<Constant*> &Ops) const {
- return getWithOperands(&Ops[0], Ops.size());
+ return getWithOperands(&Ops[0],
(unsigned)
Ops.size());
}
Constant *getWithOperands(Constant* const *Ops, unsigned NumOps) const;