[mips] Simplify code.

No intended functionality changes.

llvm-svn: 180807
This commit is contained in:
Akira Hatanaka 2013-04-30 21:17:07 +00:00
parent 9feda6071a
commit 9da442f506
1 changed files with 1 additions and 4 deletions

View File

@ -711,10 +711,7 @@ void
MipsTargetLowering::ReplaceNodeResults(SDNode *N, MipsTargetLowering::ReplaceNodeResults(SDNode *N,
SmallVectorImpl<SDValue> &Results, SmallVectorImpl<SDValue> &Results,
SelectionDAG &DAG) const { SelectionDAG &DAG) const {
SDValue Res = LowerOperation(SDValue(N, 0), DAG); return LowerOperationWrapper(N, Results, DAG);
for (unsigned I = 0, E = Res->getNumValues(); I != E; ++I)
Results.push_back(Res.getValue(I));
} }
SDValue MipsTargetLowering:: SDValue MipsTargetLowering::