summaryrefslogtreecommitdiffstats
path: root/llvm/lib/IR/AttributeImpl.h
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2013-01-27 23:41:29 +0000
committerBill Wendling <isanbard@gmail.com>2013-01-27 23:41:29 +0000
commit1f786a73715de206d13f3717f34d378a1ea1f0ed (patch)
treef4801ac821dc3e50d99bf13a7c0ff3e99c8e994d /llvm/lib/IR/AttributeImpl.h
parent71ead26439ce5afa47998d7632e591a474097e81 (diff)
downloadbcm5719-llvm-1f786a73715de206d13f3717f34d378a1ea1f0ed.tar.gz
bcm5719-llvm-1f786a73715de206d13f3717f34d378a1ea1f0ed.zip
Push the calculation of the 'Raw' attribute mask down into the implementation. It in turn uses the correct list for calculating the 'Raw' value.
llvm-svn: 173637
Diffstat (limited to 'llvm/lib/IR/AttributeImpl.h')
-rw-r--r--llvm/lib/IR/AttributeImpl.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/lib/IR/AttributeImpl.h b/llvm/lib/IR/AttributeImpl.h
index b4fb0c0aa65..babc14e1fa8 100644
--- a/llvm/lib/IR/AttributeImpl.h
+++ b/llvm/lib/IR/AttributeImpl.h
@@ -165,6 +165,9 @@ public:
ID.AddPointer(Nodes[i].second);
}
}
+
+ // FIXME: This atrocity is temporary.
+ uint64_t Raw(uint64_t Index) const;
};
} // end llvm namespace
OpenPOWER on IntegriCloud