projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Attributes Rewrite
[oota-llvm.git]
/
lib
/
Transforms
/
IPO
/
GlobalOpt.cpp
diff --git
a/lib/Transforms/IPO/GlobalOpt.cpp
b/lib/Transforms/IPO/GlobalOpt.cpp
index a32f35a8df7a92483cdb9662c70e40a57abc23e6..d4eeafa859267f1ec838bbdd8c6c97dc0b148a9a 100644
(file)
--- a/
lib/Transforms/IPO/GlobalOpt.cpp
+++ b/
lib/Transforms/IPO/GlobalOpt.cpp
@@
-2070,7
+2070,7
@@
static AttrListPtr StripNest(LLVMContext &C, const AttrListPtr &Attrs) {
continue;
// There can be only one.
- return Attrs.removeAttr(C, Attrs.getSlot(i).Index, Attributes::get(B));
+ return Attrs.removeAttr(C, Attrs.getSlot(i).Index, Attributes::get(
C,
B));
}
return Attrs;