summaryrefslogtreecommitdiff
path: root/lib/Target/Sparc/SparcISelLowering.h
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2008-06-30 20:31:15 +0000
committerDan Gohman <gohman@apple.com>2008-06-30 20:31:15 +0000
commita44b674a42b6ca57128c4eb5a358298ed3bb1406 (patch)
tree4cf3c3d8bfd809eae590b2391736bae3f16a8d1f /lib/Target/Sparc/SparcISelLowering.h
parentc60276982225a6add69e823f1df854a59f1d0dad (diff)
downloadllvm-a44b674a42b6ca57128c4eb5a358298ed3bb1406.tar.gz
llvm-a44b674a42b6ca57128c4eb5a358298ed3bb1406.tar.bz2
llvm-a44b674a42b6ca57128c4eb5a358298ed3bb1406.tar.xz
Replace some std::vectors that showed up in heap profiling with
SmallVectors. Change the signature of TargetLowering::LowerArguments to avoid returning a vector by value, and update the two targets which still use this directly, Sparc and IA64, accordingly. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@52917 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/Sparc/SparcISelLowering.h')
-rw-r--r--lib/Target/Sparc/SparcISelLowering.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Target/Sparc/SparcISelLowering.h b/lib/Target/Sparc/SparcISelLowering.h
index 023ea93d8c..2257304b7d 100644
--- a/lib/Target/Sparc/SparcISelLowering.h
+++ b/lib/Target/Sparc/SparcISelLowering.h
@@ -57,8 +57,8 @@ namespace llvm {
const SelectionDAG &DAG,
unsigned Depth = 0) const;
- virtual std::vector<SDOperand>
- LowerArguments(Function &F, SelectionDAG &DAG);
+ virtual void LowerArguments(Function &F, SelectionDAG &DAG,
+ SmallVectorImpl<SDOperand> &ArgValues);
virtual MachineBasicBlock *EmitInstrWithCustomInserter(MachineInstr *MI,
MachineBasicBlock *MBB);