summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEaswaran Raman <eraman@google.com>2016-03-03 18:53:20 +0000
committerEaswaran Raman <eraman@google.com>2016-03-03 18:53:20 +0000
commitfd6557e36805ad40e2bcea51e18d47c2fd76b554 (patch)
tree2c07938df05853cf18ff86751bd1e116fa7c063c
parent005d84430dcfb54afdea5bc8543a9a214fc5169c (diff)
downloadbcm5719-llvm-fd6557e36805ad40e2bcea51e18d47c2fd76b554.tar.gz
bcm5719-llvm-fd6557e36805ad40e2bcea51e18d47c2fd76b554.zip
Fix breakage caused by r262636.
Use LLVM_ATTRIBUTE_UNUSED instead of __attribute_((unused)) llvm-svn: 262643
-rw-r--r--llvm/lib/Analysis/InlineCost.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Analysis/InlineCost.cpp b/llvm/lib/Analysis/InlineCost.cpp
index 08c04d598ef..4f69d1f012c 100644
--- 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;
OpenPOWER on IntegriCloud