diff options
author | Daniel Dunbar <daniel@zuster.org> | 2009-07-01 06:48:00 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2009-07-01 06:48:00 +0000 |
commit | 80f62d0062a6008403eb889c35fa19939c5c50cf (patch) | |
tree | ddaba4f81efe1fab1c280cb8421a67eab4a900ca /include/llvm/MC/MCValue.h | |
parent | 87380cb0e0d6157b8845d59a50bc2ba94a38ebd1 (diff) | |
download | external_llvm-80f62d0062a6008403eb889c35fa19939c5c50cf.tar.gz external_llvm-80f62d0062a6008403eb889c35fa19939c5c50cf.tar.bz2 external_llvm-80f62d0062a6008403eb889c35fa19939c5c50cf.zip |
Rename MCValue::isConstant to isAbsolute.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74596 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/MC/MCValue.h')
-rw-r--r-- | include/llvm/MC/MCValue.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/llvm/MC/MCValue.h b/include/llvm/MC/MCValue.h index 174992ebe0..d032f170c3 100644 --- a/include/llvm/MC/MCValue.h +++ b/include/llvm/MC/MCValue.h @@ -40,7 +40,8 @@ public: MCSymbol *getSymA() const { return SymA; } MCSymbol *getSymB() const { return SymB; } - bool isConstant() const { return !SymA && !SymB; } + /// isAbsolute - Is this an absolute (as opposed to relocatable) value. + bool isAbsolute() const { return !SymA && !SymB; } /// getAssociatedSection - For relocatable values, return the section the /// value is associated with. |