diff options
author | Chris Lattner <sabre@nondot.org> | 2005-05-12 23:24:06 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2005-05-12 23:24:06 +0000 |
commit | 2dce7037109dd17d299ec0026b5b4a10ecf6621c (patch) | |
tree | 89452bf333f9a4745f26fc52db3b4ad45369bafe /llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp | |
parent | 53eadd159bd0bbee37a90cdd89b70e9191ec67be (diff) | |
download | bcm5719-llvm-2dce7037109dd17d299ec0026b5b4a10ecf6621c.tar.gz bcm5719-llvm-2dce7037109dd17d299ec0026b5b4a10ecf6621c.zip |
rename the ADJCALLSTACKDOWN/ADJCALLSTACKUP nodes to be CALLSEQ_START/BEGIN.
llvm-svn: 21915
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp')
-rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp index 1ca213b4440..6fa0d926a7f 100644 --- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp @@ -1194,7 +1194,7 @@ SDOperand SelectionDAG::getNode(unsigned Opcode, MVT::ValueType VT, // Memoize this node if possible. SDNode *N; - if (Opcode != ISD::ADJCALLSTACKDOWN && Opcode != ISD::ADJCALLSTACKUP) { + if (Opcode != ISD::CALLSEQ_START && Opcode != ISD::CALLSEQ_END) { SDNode *&BON = BinaryOps[std::make_pair(Opcode, std::make_pair(N1, N2))]; if (BON) return SDOperand(BON, 0); @@ -1214,11 +1214,11 @@ SDOperand SelectionDAG::getNode(unsigned Opcode, MVT::ValueType VT, } // setAdjCallChain - This method changes the token chain of an -// ADJCALLSTACKDOWN/UP node to be the specified operand. +// CALLSEQ_START/END node to be the specified operand. void SDNode::setAdjCallChain(SDOperand N) { assert(N.getValueType() == MVT::Other); - assert((getOpcode() == ISD::ADJCALLSTACKDOWN || - getOpcode() == ISD::ADJCALLSTACKUP) && "Cannot adjust this node!"); + assert((getOpcode() == ISD::CALLSEQ_START || + getOpcode() == ISD::CALLSEQ_END) && "Cannot adjust this node!"); Operands[0].Val->removeUser(this); Operands[0] = N; @@ -1690,8 +1690,8 @@ const char *SDNode::getOperationName() const { case ISD::BRCONDTWOWAY: return "brcondtwoway"; case ISD::RET: return "ret"; case ISD::CALL: return "call"; - case ISD::ADJCALLSTACKDOWN: return "adjcallstackdown"; - case ISD::ADJCALLSTACKUP: return "adjcallstackup"; + case ISD::CALLSEQ_START: return "callseq_end"; + case ISD::CALLSEQ_END: return "callseq_start"; // Other operators case ISD::LOAD: return "load"; |