[llvm-commits] [llvm] r77122 - /llvm/trunk/include/llvm/Target/TargetAsmInfo.h
Chris Lattner
sabre at nondot.org
Sat Jul 25 21:18:11 PDT 2009
Author: lattner
Date: Sat Jul 25 23:18:10 2009
New Revision: 77122
URL: http://llvm.org/viewvc/llvm-project?rev=77122&view=rev
Log:
fix isReadOnly predicate to not include data that has to be
writable because of teh dynamic linker.
Modified:
llvm/trunk/include/llvm/Target/TargetAsmInfo.h
Modified: llvm/trunk/include/llvm/Target/TargetAsmInfo.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Target/TargetAsmInfo.h?rev=77122&r1=77121&r2=77122&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Target/TargetAsmInfo.h (original)
+++ llvm/trunk/include/llvm/Target/TargetAsmInfo.h Sat Jul 25 23:18:10 2009
@@ -60,9 +60,7 @@
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
More information about the llvm-commits
mailing list