projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f276990
)
fix isReadOnly predicate to not include data that has to be
author
Chris Lattner
<sabre@nondot.org>
Sun, 26 Jul 2009 04:18:10 +0000
(
04:18
+0000)
committer
Chris Lattner
<sabre@nondot.org>
Sun, 26 Jul 2009 04:18:10 +0000
(
04:18
+0000)
writable because of teh dynamic linker.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77122
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/Target/TargetAsmInfo.h
patch
|
blob
|
history
diff --git
a/include/llvm/Target/TargetAsmInfo.h
b/include/llvm/Target/TargetAsmInfo.h
index ccc2075fe3fd4d82db33226364e7abf7d4595c1b..59fb8c96f83cccea109efeb490cf0b8946c58293 100644
(file)
--- a/
include/llvm/Target/TargetAsmInfo.h
+++ b/
include/llvm/Target/TargetAsmInfo.h
@@
-60,9
+60,7
@@
namespace llvm {
Kind getKind() const { return K; }
bool isReadOnly() const {
- return K == ROData ||
- K == DataRelRO || K == DataRelROLocal ||
- K == RODataMergeConst || K == RODataMergeStr;
+ return K == ROData || K == RODataMergeConst || K == RODataMergeStr;
}
/// isReadOnlyWithDynamicInit - Return true if this data is readonly, but