1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-01-31 20:51:52 +01:00

Fix disagreement about where the attributes are

~0 != ~0U.

llvm-svn: 57268
This commit is contained in:
Eric Christopher 2008-10-07 22:33:44 +00:00
parent d0e49468b3
commit fd8787fceb

View File

@ -158,7 +158,7 @@ public:
///
void addFnAttr(Attributes N) {
// Function Attributes are stored at ~0 index
addAttribute(~0, N);
addAttribute(~0U, N);
}
/// hasGC/getGC/setGC/clearGC - The name of the garbage collection algorithm