projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0eb405c
)
IR: Fix assert string message referring to the wrong attribute
author
Matt Arsenault
<Matthew.Arsenault@amd.com>
Sun, 7 Mar 2021 14:59:11 +0000
(09:59 -0500)
committer
Matt Arsenault
<Matthew.Arsenault@amd.com>
Sun, 7 Mar 2021 18:14:17 +0000
(13:14 -0500)
llvm/lib/IR/Function.cpp
patch
|
blob
|
history
diff --git
a/llvm/lib/IR/Function.cpp
b/llvm/lib/IR/Function.cpp
index
0396fda
..
553db4e
100644
(file)
--- a/
llvm/lib/IR/Function.cpp
+++ b/
llvm/lib/IR/Function.cpp
@@
-209,7
+209,7
@@
Type *Argument::getParamStructRetType() const {
}
Type *Argument::getParamByRefType() const {
- assert(getType()->isPointerTy() && "Only pointers have by
val
types");
+ assert(getType()->isPointerTy() && "Only pointers have by
ref
types");
return getParent()->getParamByRefType(getArgNo());
}