aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/llvm/Target/TargetAsmInfo.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/include/llvm/Target/TargetAsmInfo.h b/include/llvm/Target/TargetAsmInfo.h
index ccc2075fe3..59fb8c96f8 100644
--- 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