diff options
author | Dan Gohman <gohman@apple.com> | 2008-07-07 18:26:29 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2008-07-07 18:26:29 +0000 |
commit | 768f2c9246eee67732837f4c8976c1df59563f08 (patch) | |
tree | 50cd249b3c2b9a431a2fc48f951b87f7af49cb5d /clang/Driver/HTMLPrint.cpp | |
parent | 2860b7a6083ed6a9e4d544034dab096774bed37f (diff) | |
download | bcm5719-llvm-768f2c9246eee67732837f4c8976c1df59563f08.tar.gz bcm5719-llvm-768f2c9246eee67732837f4c8976c1df59563f08.zip |
Remove most of the uses of SDOperandPtr, usually replacing it with a
simple const SDOperand*, which is what's usually needed.
For AddNodeIDOperands, which is small, just duplicate the function to
accept an SDUse*.
For SelectionDAG::getNode - Add an overload that accepts SDUse* that
copies the operands into a temporary SDOperand array, but also has
special-case checks for 0 through 3 operands to avoid the copy in
the common cases.
llvm-svn: 53183
Diffstat (limited to 'clang/Driver/HTMLPrint.cpp')
0 files changed, 0 insertions, 0 deletions