diff options
author | Philip Reames <listmail@philipreames.com> | 2014-12-12 00:49:03 +0000 |
---|---|---|
committer | Philip Reames <listmail@philipreames.com> | 2014-12-12 00:49:03 +0000 |
commit | 60de8b29f7d2fc0aee2b746feb1ef82444be0eac (patch) | |
tree | 51b763400b70a480283b29475bd417ca669238b2 /llvm/lib/CodeGen/GCStrategy.cpp | |
parent | 810cb6296264b49b99aa24161f8fd6fdd2aa03d4 (diff) | |
download | bcm5719-llvm-60de8b29f7d2fc0aee2b746feb1ef82444be0eac.tar.gz bcm5719-llvm-60de8b29f7d2fc0aee2b746feb1ef82444be0eac.zip |
Comment and minor code cleanup for GCStrategy (NFC)
Updating comments to reflect the current state of the world after my recent changes to ownership structure and generally better describe what a GCStrategy is and how it works.
llvm-svn: 224086
Diffstat (limited to 'llvm/lib/CodeGen/GCStrategy.cpp')
-rw-r--r-- | llvm/lib/CodeGen/GCStrategy.cpp | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/llvm/lib/CodeGen/GCStrategy.cpp b/llvm/lib/CodeGen/GCStrategy.cpp index 044169e04f8..4b03e9e34c6 100644 --- a/llvm/lib/CodeGen/GCStrategy.cpp +++ b/llvm/lib/CodeGen/GCStrategy.cpp @@ -102,19 +102,6 @@ GCStrategy::GCStrategy() : UsesMetadata(false) {} -bool GCStrategy::initializeCustomLowering(Module &M) { return false; } - -bool GCStrategy::performCustomLowering(Function &F) { - dbgs() << "gc " << getName() << " must override performCustomLowering.\n"; - llvm_unreachable("must override performCustomLowering"); -} - - -bool GCStrategy::findCustomSafePoints(GCFunctionInfo& FI, MachineFunction &F) { - dbgs() << "gc " << getName() << " must override findCustomSafePoints.\n"; - llvm_unreachable(nullptr); -} - // ----------------------------------------------------------------------------- INITIALIZE_PASS_BEGIN(LowerIntrinsics, "gc-lowering", "GC Lowering", |