Changes in directory llvm/include/llvm/CodeGen:
SelectionDAG.h updated: 1.79 -> 1.80 --- Log message: Add an accessor --- Diffs of the changes: (+11 -1) SelectionDAG.h | 12 +++++++++++- 1 files changed, 11 insertions(+), 1 deletion(-) Index: llvm/include/llvm/CodeGen/SelectionDAG.h diff -u llvm/include/llvm/CodeGen/SelectionDAG.h:1.79 llvm/include/llvm/CodeGen/SelectionDAG.h:1.80 --- llvm/include/llvm/CodeGen/SelectionDAG.h:1.79 Fri Dec 16 19:44:51 2005 +++ llvm/include/llvm/CodeGen/SelectionDAG.h Sun Dec 18 15:00:53 2005 @@ -198,7 +198,17 @@ AllNodes.push_back(NN); return NN; } - + /// getCall - Note that this destroys the vector of RetVals passed in. + /// + SDNode *getCall(std::vector<MVT::ValueType> &RetVals, SDOperand Chain, + SDOperand Callee, SDOperand Flag, bool isTailCall = false) { + SDNode *NN = new SDNode(isTailCall ? ISD::TAILCALL : ISD::CALL, Chain, + Callee, Flag); + setNodeValueTypes(NN, RetVals); + AllNodes.push_back(NN); + return NN; + } + /// getCall - This is identical to the one above, and should be used for calls /// where arguments are passed in physical registers. This destroys the /// RetVals and ArgsInRegs vectors. _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits