mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-17 05:29:24 +00:00
Add an accessor
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17865 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
02376e3f29
commit
1840f3ce7f
@ -67,8 +67,15 @@ public:
|
|||||||
void setLinkage(LinkageTypes LT) { Linkage = LT; }
|
void setLinkage(LinkageTypes LT) { Linkage = LT; }
|
||||||
LinkageTypes getLinkage() const { return Linkage; }
|
LinkageTypes getLinkage() const { return Linkage; }
|
||||||
|
|
||||||
/// Override from Constant class. No GlobalValue's have null values so
|
/// hasNotBeenReadFromBytecode - If a module provider is being used to lazily
|
||||||
/// this always returns false.
|
/// stream in functions from disk, this method can be used to check to see if
|
||||||
|
/// the function has been read in yet or not. Unless you are working on the
|
||||||
|
/// JIT or something else that streams stuff in lazily, you don't need to
|
||||||
|
/// worry about this.
|
||||||
|
bool hasNotBeenReadFromBytecode() const { return Linkage == GhostLinkage; }
|
||||||
|
|
||||||
|
/// Override from Constant class. No GlobalValue's are null values so this
|
||||||
|
/// always returns false.
|
||||||
virtual bool isNullValue() const { return false; }
|
virtual bool isNullValue() const { return false; }
|
||||||
|
|
||||||
/// Override from Constant class.
|
/// Override from Constant class.
|
||||||
|
Loading…
Reference in New Issue
Block a user