diff options
author | Duncan Sands <baldrick@free.fr> | 2009-01-21 09:00:29 +0000 |
---|---|---|
committer | Duncan Sands <baldrick@free.fr> | 2009-01-21 09:00:29 +0000 |
commit | 9fbc7e2e7a765298fb4326885b407e0962f7ab62 (patch) | |
tree | d57e9c6df9132b004dacd529f2e4549f955d2cf1 /lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp | |
parent | d3be46214ca75f0ba7d5fc6cd322d222dd53e2cb (diff) |
Cleanup whitespace and comments, and tweak some
prototypes, in operand type legalization. No
functionality change.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@62680 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp')
-rw-r--r-- | lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp b/lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp index d0023a0476..f971069e82 100644 --- a/lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp +++ b/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); } |