mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-24 22:24:54 +00:00
Rename isString -> isExternalSymbol; getString -> getExternalSymbol since these work on externsym machine relocations.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@58895 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -234,9 +234,9 @@ public:
|
||||
return AddrType == isBB;
|
||||
}
|
||||
|
||||
/// isString - Return true if this is a constant string.
|
||||
/// isExternalSymbol - Return true if this is a constant string.
|
||||
///
|
||||
bool isString() const {
|
||||
bool isExternalSymbol() const {
|
||||
return AddrType == isExtSym;
|
||||
}
|
||||
|
||||
@@ -287,8 +287,8 @@ public:
|
||||
|
||||
/// getString - If this is a string value, return the string reference.
|
||||
///
|
||||
const char *getString() const {
|
||||
assert(isString() && "This is not a string reference!");
|
||||
const char *getExternalSymbol() const {
|
||||
assert(isExternalSymbol() && "This is not an external symbol reference!");
|
||||
return Target.ExtSym;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user