summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp
diff options
context:
space:
mode:
authorDuncan Sands <baldrick@free.fr>2009-01-21 09:00:29 +0000
committerDuncan Sands <baldrick@free.fr>2009-01-21 09:00:29 +0000
commitbe7e41481b1b0444db6ed611811aa81df61b501b (patch)
treea8f55a4957b9fc0863bc8631611755bb57b35ce2 /llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp
parentfe48dfa0f21e4eb1e4414c6df2f95ea0cb3709df (diff)
downloadbcm5719-llvm-be7e41481b1b0444db6ed611811aa81df61b501b.tar.gz
bcm5719-llvm-be7e41481b1b0444db6ed611811aa81df61b501b.zip
Cleanup whitespace and comments, and tweak some
prototypes, in operand type legalization. No functionality change. llvm-svn: 62680
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp9
1 files changed, 4 insertions, 5 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp
index d0023a0476a..f971069e82f 100644
--- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp
@@ -5568,11 +5568,10 @@ TargetLowering::LowerCallTo(SDValue Chain, const Type *RetTy,
return std::make_pair(Res, Chain);
}
-void TargetLowering::LowerOperationWrapper(SDValue Op,
- SmallVectorImpl<SDValue> &Results,
- SelectionDAG &DAG) {
- SDValue Res;
- Res = LowerOperation(Op, DAG);
+void TargetLowering::LowerOperationWrapper(SDNode *N,
+ SmallVectorImpl<SDValue> &Results,
+ SelectionDAG &DAG) {
+ SDValue Res = LowerOperation(SDValue(N, 0), DAG);
if (Res.getNode())
Results.push_back(Res);
}
OpenPOWER on IntegriCloud