diff options
author | Dan Gohman <gohman@apple.com> | 2009-12-19 01:47:13 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2009-12-19 01:47:13 +0000 |
commit | 1fef0c4962cbde6c9ab6a94e3361343f0ed9959b (patch) | |
tree | f5a8e04bb14d5d7b02f531a9e9e6f9394ebcf792 | |
parent | 355b4f3c199990feb0e8a1d50e3bbc159eca7e7b (diff) |
Delete unused code.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91743 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | include/llvm/Target/TargetLowering.h | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/include/llvm/Target/TargetLowering.h b/include/llvm/Target/TargetLowering.h index 9536e0409c..939322c958 100644 --- a/include/llvm/Target/TargetLowering.h +++ b/include/llvm/Target/TargetLowering.h @@ -1291,20 +1291,6 @@ public: return false; } - /// GetPossiblePreceedingTailCall - Get preceeding TailCallNodeOpCode node if - /// it exists. Skip a possible ISD::TokenFactor. - static SDValue GetPossiblePreceedingTailCall(SDValue Chain, - unsigned TailCallNodeOpCode) { - if (Chain.getOpcode() == TailCallNodeOpCode) { - return Chain; - } else if (Chain.getOpcode() == ISD::TokenFactor) { - if (Chain.getNumOperands() && - Chain.getOperand(0).getOpcode() == TailCallNodeOpCode) - return Chain.getOperand(0); - } - return Chain; - } - /// getTargetNodeName() - This method returns the name of a target specific /// DAG node. virtual const char *getTargetNodeName(unsigned Opcode) const; |