mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-24 21:05:23 +00:00
Remove unnecessary getter.
llvm-svn: 254466
This commit is contained in:
parent
43979b3579
commit
5ecdd9cb53
@ -459,9 +459,6 @@ private:
|
|||||||
/// Check if we should promote the given local value to global scope.
|
/// Check if we should promote the given local value to global scope.
|
||||||
bool doPromoteLocalToGlobal(const GlobalValue *SGV);
|
bool doPromoteLocalToGlobal(const GlobalValue *SGV);
|
||||||
|
|
||||||
/// Check if all global value body linking is complete.
|
|
||||||
bool doneLinkingBodies() { return DoneLinkingBodies; }
|
|
||||||
|
|
||||||
bool shouldLinkFromSource(bool &LinkFromSrc, const GlobalValue &Dest,
|
bool shouldLinkFromSource(bool &LinkFromSrc, const GlobalValue &Dest,
|
||||||
const GlobalValue &Src);
|
const GlobalValue &Src);
|
||||||
|
|
||||||
@ -886,7 +883,7 @@ Value *ModuleLinker::materializeDeclFor(Value *V) {
|
|||||||
// If we are done linking global value bodies (i.e. we are performing
|
// If we are done linking global value bodies (i.e. we are performing
|
||||||
// metadata linking), don't link in the global value due to this
|
// metadata linking), don't link in the global value due to this
|
||||||
// reference, simply map it to null.
|
// reference, simply map it to null.
|
||||||
if (doneLinkingBodies())
|
if (DoneLinkingBodies)
|
||||||
return nullptr;
|
return nullptr;
|
||||||
|
|
||||||
linkGlobalValueProto(SGV);
|
linkGlobalValueProto(SGV);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user