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:
005d844
)
Fix breakage caused by r262636.
author
Easwaran Raman
<eraman@google.com>
Thu, 3 Mar 2016 18:53:20 +0000
(18:53 +0000)
committer
Easwaran Raman
<eraman@google.com>
Thu, 3 Mar 2016 18:53:20 +0000
(18:53 +0000)
Use LLVM_ATTRIBUTE_UNUSED instead of __attribute_((unused))
llvm-svn: 262643
llvm/lib/Analysis/InlineCost.cpp
patch
|
blob
|
history
diff --git
a/llvm/lib/Analysis/InlineCost.cpp
b/llvm/lib/Analysis/InlineCost.cpp
index
08c04d5
..
4f69d1f
100644
(file)
--- a/
llvm/lib/Analysis/InlineCost.cpp
+++ b/
llvm/lib/Analysis/InlineCost.cpp
@@
-585,7
+585,7
@@
bool CallAnalyzer::isKnownNonNullInCallee(Value *V) {
// Adjust the threshold based on callsite hotness. Currently this is a nop.
int CallAnalyzer::getAdjustedThreshold(int Threshold,
Optional<uint64_t> CallSiteCount
-
__attribute__((unused))
) {
+
LLVM_ATTRIBUTE_UNUSED
) {
// FIXME: The new threshold should be computed from the given Threshold and
// the callsite hotness.
return Threshold;