aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/SelectionDAG/StatepointLowering.cpp
diff options
context:
space:
mode:
authorSanjoy Das <sanjoy@playingwithpointers.com>2016-03-17 00:47:14 +0000
committerSanjoy Das <sanjoy@playingwithpointers.com>2016-03-17 00:47:14 +0000
commit3a02019fbc7a1089cd48fb18e844778de35c4f8c (patch)
tree5251a29c51ba5ff60367ca57e2cc807d20d32b86 /llvm/lib/CodeGen/SelectionDAG/StatepointLowering.cpp
parentc3b847db4fb7d6cb41eac368848ae1d029b03075 (diff)
downloadllvm-3a02019fbc7a1089cd48fb18e844778de35c4f8c.zip
llvm-3a02019fbc7a1089cd48fb18e844778de35c4f8c.tar.gz
llvm-3a02019fbc7a1089cd48fb18e844778de35c4f8c.tar.bz2
[SelectionDAG] Remove visitStatepoint; NFC
This way we have a single entry point into StatepointLowering. The method was a direct dispatch to LowerStatepoint anyway. llvm-svn: 263682
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/StatepointLowering.cpp')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/StatepointLowering.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/StatepointLowering.cpp b/llvm/lib/CodeGen/SelectionDAG/StatepointLowering.cpp
index 9e6df10..5dbc7721 100644
--- a/llvm/lib/CodeGen/SelectionDAG/StatepointLowering.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/StatepointLowering.cpp
@@ -550,14 +550,6 @@ lowerStatepointMetaArgs(SmallVectorImpl<SDValue> &Ops,
}
}
-void SelectionDAGBuilder::visitStatepoint(const CallInst &CI) {
- // Check some preconditions for sanity
- assert(isStatepoint(&CI) &&
- "Function called must be the statepoint function");
-
- LowerStatepoint(ImmutableStatepoint(&CI));
-}
-
SDValue SelectionDAGBuilder::LowerAsStatepoint(
SelectionDAGBuilder::StatepointLoweringInfo &SI) {
// The basic scheme here is that information about both the original call and