projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Comment and clarifying assert.
[oota-llvm.git]
/
include
/
llvm
/
Function.h
diff --git
a/include/llvm/Function.h
b/include/llvm/Function.h
index 0aa5b2a9fa4c83d2a2169f74e43f9ce093a2a666..678651bbf1f8d75a3eb7292f82d429097a265d3d 100644
(file)
--- a/
include/llvm/Function.h
+++ b/
include/llvm/Function.h
@@
-117,11
+117,11
@@
private:
/// function is automatically inserted into the end of the function list for
/// the module.
///
/// function is automatically inserted into the end of the function list for
/// the module.
///
- Function(
const
FunctionType *Ty, LinkageTypes Linkage,
+ Function(FunctionType *Ty, LinkageTypes Linkage,
const Twine &N = "", Module *M = 0);
public:
const Twine &N = "", Module *M = 0);
public:
- static Function *Create(
const
FunctionType *Ty, LinkageTypes Linkage,
+ static Function *Create(FunctionType *Ty, LinkageTypes Linkage,
const Twine &N = "", Module *M = 0) {
return new(0) Function(Ty, Linkage, N, M);
}
const Twine &N = "", Module *M = 0) {
return new(0) Function(Ty, Linkage, N, M);
}