Remove old DBG_LABEL code.

llvm-svn: 90669
This commit is contained in:
Dan Gohman 2009-12-05 17:56:26 +00:00
parent 6e7073b846
commit 35f5646ef0
2 changed files with 0 additions and 9 deletions

View File

@ -113,7 +113,6 @@ protected:
// Calls to these functions are generated by tblgen.
SDNode *Select_INLINEASM(SDValue N);
SDNode *Select_UNDEF(const SDValue &N);
SDNode *Select_DBG_LABEL(const SDValue &N);
SDNode *Select_EH_LABEL(const SDValue &N);
void CannotYetSelect(SDValue N);
void CannotYetSelectIntrinsic(SDValue N);

View File

@ -1327,14 +1327,6 @@ SDNode *SelectionDAGISel::Select_UNDEF(const SDValue &N) {
N.getValueType());
}
SDNode *SelectionDAGISel::Select_DBG_LABEL(const SDValue &N) {
SDValue Chain = N.getOperand(0);
unsigned C = cast<LabelSDNode>(N)->getLabelID();
SDValue Tmp = CurDAG->getTargetConstant(C, MVT::i32);
return CurDAG->SelectNodeTo(N.getNode(), TargetInstrInfo::DBG_LABEL,
MVT::Other, Tmp, Chain);
}
SDNode *SelectionDAGISel::Select_EH_LABEL(const SDValue &N) {
SDValue Chain = N.getOperand(0);
unsigned C = cast<LabelSDNode>(N)->getLabelID();