diff options
author | Dan Gohman <gohman@apple.com> | 2008-04-17 23:02:12 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2008-04-17 23:02:12 +0000 |
commit | 75c895dbc4dcc6083815a1cc6a412b69513b31fa (patch) | |
tree | 21dd77d0fdb1a39f9631ab3070fe6cb04827f7d9 /llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp | |
parent | f42f3fb47d48429fb83198fbed07b8df9241e105 (diff) | |
download | bcm5719-llvm-75c895dbc4dcc6083815a1cc6a412b69513b31fa.tar.gz bcm5719-llvm-75c895dbc4dcc6083815a1cc6a412b69513b31fa.zip |
Remove the implicit conversion from SDOperandPtr to SDOperand*; this
may fix a build error on Visual Studio.
llvm-svn: 49876
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp')
-rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp index 57784c21eec..fa38c508486 100644 --- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp @@ -337,7 +337,7 @@ static void AddNodeIDOperands(FoldingSetNodeID &ID, static void AddNodeIDNode(FoldingSetNodeID &ID, unsigned short OpC, SDVTList VTList, - const SDOperand *OpList, unsigned N) { + SDOperandPtr OpList, unsigned N) { AddNodeIDOpcode(ID, OpC); AddNodeIDValueTypes(ID, VTList); AddNodeIDOperands(ID, OpList, N); @@ -3342,7 +3342,7 @@ UpdateNodeOperands(SDOperand InN, SDOperandPtr Ops, unsigned NumOps) { /// opcode, types, and operands to the specified value. This should only be /// used by the SelectionDAG class. void SDNode::MorphNodeTo(unsigned Opc, SDVTList L, - const SDOperand *Ops, unsigned NumOps) { + SDOperandPtr Ops, unsigned NumOps) { NodeType = Opc; ValueList = L.VTs; NumValues = L.NumVTs; @@ -3393,7 +3393,7 @@ SDNode *SelectionDAG::SelectNodeTo(SDNode *N, unsigned TargetOpc, RemoveNodeFromCSEMaps(N); - N->MorphNodeTo(ISD::BUILTIN_OP_END+TargetOpc, VTs, 0, 0); + N->MorphNodeTo(ISD::BUILTIN_OP_END+TargetOpc, VTs, SDOperandPtr(), 0); CSEMap.InsertNode(N, IP); return N; @@ -3951,7 +3951,7 @@ void AtomicSDNode::ANCHOR() {} HandleSDNode::~HandleSDNode() { SDVTList VTs = { 0, 0 }; - MorphNodeTo(ISD::HANDLENODE, VTs, 0, 0); // Drops operand uses. + MorphNodeTo(ISD::HANDLENODE, VTs, SDOperandPtr(), 0); // Drops operand uses. } GlobalAddressSDNode::GlobalAddressSDNode(bool isTarget, const GlobalValue *GA, |