From: Akira Hatanaka Date: Tue, 30 Apr 2013 21:17:07 +0000 (+0000) Subject: [mips] Simplify code. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=13ec4812fc733c37bb3329982bc044d186e0bea2;hp=7fac0ef71cfaeafd91b9520b553d00d91f83a442;p=oota-llvm.git [mips] Simplify code. No intended functionality changes. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@180807 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/Mips/MipsISelLowering.cpp b/lib/Target/Mips/MipsISelLowering.cpp index 5e0b73186f1..8a0673feb64 100644 --- a/lib/Target/Mips/MipsISelLowering.cpp +++ b/lib/Target/Mips/MipsISelLowering.cpp @@ -711,10 +711,7 @@ void MipsTargetLowering::ReplaceNodeResults(SDNode *N, SmallVectorImpl &Results, SelectionDAG &DAG) const { - SDValue Res = LowerOperation(SDValue(N, 0), DAG); - - for (unsigned I = 0, E = Res->getNumValues(); I != E; ++I) - Results.push_back(Res.getValue(I)); + return LowerOperationWrapper(N, Results, DAG); } SDValue MipsTargetLowering::