diff options
author | Dan Gohman <gohman@apple.com> | 2009-02-12 17:29:01 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2009-02-12 17:29:01 +0000 |
commit | e366c29fa01640cdecd6bcd775dc3067fe6e4d30 (patch) | |
tree | 25c2ff34932e479f2bb926b7ee5ce11f3b20a45c /llvm/lib/CodeGen/RegAllocBigBlock.cpp | |
parent | 648bf78333bac59a3e5106a87324952b9cfa70cb (diff) | |
download | bcm5719-llvm-e366c29fa01640cdecd6bcd775dc3067fe6e4d30.tar.gz bcm5719-llvm-e366c29fa01640cdecd6bcd775dc3067fe6e4d30.zip |
Adjust the sizes for a few SmallVectors to reflect their usage.
llvm-svn: 64381
Diffstat (limited to 'llvm/lib/CodeGen/RegAllocBigBlock.cpp')
-rw-r--r-- | llvm/lib/CodeGen/RegAllocBigBlock.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/RegAllocBigBlock.cpp b/llvm/lib/CodeGen/RegAllocBigBlock.cpp index 584aa7c7c0e..91e4099d0c4 100644 --- a/llvm/lib/CodeGen/RegAllocBigBlock.cpp +++ b/llvm/lib/CodeGen/RegAllocBigBlock.cpp @@ -518,7 +518,7 @@ MachineInstr *RABigBlock::reloadVirtReg(MachineBasicBlock &MBB, MachineInstr *MI assignVirtToPhysReg(VirtReg, PhysReg); } else { // no free registers available. // try to fold the spill into the instruction - SmallVector<unsigned, 2> Ops; + SmallVector<unsigned, 1> Ops; Ops.push_back(OpNum); if(MachineInstr* FMI = TII->foldMemoryOperand(*MF, MI, Ops, FrameIndex)) { ++NumFolded; |