From 60de8b29f7d2fc0aee2b746feb1ef82444be0eac Mon Sep 17 00:00:00 2001 From: Philip Reames Date: Fri, 12 Dec 2014 00:49:03 +0000 Subject: 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 --- llvm/lib/CodeGen/GCStrategy.cpp | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'llvm/lib/CodeGen/GCStrategy.cpp') 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", -- cgit v1.2.3