diff options
author | Dan Gohman <gohman@apple.com> | 2008-06-30 20:31:15 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2008-06-30 20:31:15 +0000 |
commit | 31c8123d07123bb6019d1cb8afbea1531bd266ca (patch) | |
tree | b16f9df39cd17688323fc61a4a6e177783432b65 /llvm/lib/Target/Sparc/SparcISelLowering.h | |
parent | 60a1c3b1e5e985dbe57723fe5202c9fcf042453d (diff) | |
download | bcm5719-llvm-31c8123d07123bb6019d1cb8afbea1531bd266ca.tar.gz bcm5719-llvm-31c8123d07123bb6019d1cb8afbea1531bd266ca.zip |
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.
llvm-svn: 52917
Diffstat (limited to 'llvm/lib/Target/Sparc/SparcISelLowering.h')
-rw-r--r-- | llvm/lib/Target/Sparc/SparcISelLowering.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Target/Sparc/SparcISelLowering.h b/llvm/lib/Target/Sparc/SparcISelLowering.h index 023ea93d8c5..2257304b7dc 100644 --- a/llvm/lib/Target/Sparc/SparcISelLowering.h +++ b/llvm/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); |