diff options
author | Dmitri Gribenko <gribozavr@gmail.com> | 2013-05-05 00:40:33 +0000 |
---|---|---|
committer | Dmitri Gribenko <gribozavr@gmail.com> | 2013-05-05 00:40:33 +0000 |
commit | 3238fb759563e64b3fc1f28bb3e184de3d7b07a1 (patch) | |
tree | ca8b94f0ff088eae030aa1aeabcac5105db1af4d /llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp | |
parent | d61dcfc4fd831d21b86e5248ae4cf3b1ff5c0f59 (diff) | |
download | bcm5719-llvm-3238fb759563e64b3fc1f28bb3e184de3d7b07a1.tar.gz bcm5719-llvm-3238fb759563e64b3fc1f28bb3e184de3d7b07a1.zip |
Add ArrayRef constructor from None, and do the cleanups that this constructor enables
Patch by Robert Wilhelm.
llvm-svn: 181138
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp')
-rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp index 5e30c251e75..15235c8ac30 100644 --- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp @@ -5252,7 +5252,7 @@ SDNode *SelectionDAG::MorphNodeTo(SDNode *N, unsigned Opc, MachineSDNode * SelectionDAG::getMachineNode(unsigned Opcode, DebugLoc dl, EVT VT) { SDVTList VTs = getVTList(VT); - return getMachineNode(Opcode, dl, VTs, ArrayRef<SDValue>()); + return getMachineNode(Opcode, dl, VTs, None); } MachineSDNode * @@ -5288,7 +5288,7 @@ SelectionDAG::getMachineNode(unsigned Opcode, DebugLoc dl, EVT VT, MachineSDNode * SelectionDAG::getMachineNode(unsigned Opcode, DebugLoc dl, EVT VT1, EVT VT2) { SDVTList VTs = getVTList(VT1, VT2); - return getMachineNode(Opcode, dl, VTs, ArrayRef<SDValue>()); + return getMachineNode(Opcode, dl, VTs, None); } MachineSDNode * |