From e366c29fa01640cdecd6bcd775dc3067fe6e4d30 Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Thu, 12 Feb 2009 17:29:01 +0000 Subject: Adjust the sizes for a few SmallVectors to reflect their usage. llvm-svn: 64381 --- llvm/lib/CodeGen/RegAllocBigBlock.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'llvm/lib/CodeGen/RegAllocBigBlock.cpp') 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 Ops; + SmallVector Ops; Ops.push_back(OpNum); if(MachineInstr* FMI = TII->foldMemoryOperand(*MF, MI, Ops, FrameIndex)) { ++NumFolded; -- cgit v1.2.3