diff options
author | Evan Cheng <evan.cheng@apple.com> | 2007-12-05 03:14:33 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2007-12-05 03:14:33 +0000 |
commit | 2af4a6c288939754c302cb397c3c334dff6def41 (patch) | |
tree | 833ba21d24aa346a057bf617a4b89ce36d9ae304 /lib/CodeGen/RegAllocLocal.cpp | |
parent | 6fe053afa3e33f885e7428b27f5943cac17bd7cd (diff) | |
download | external_llvm-2af4a6c288939754c302cb397c3c334dff6def41.zip external_llvm-2af4a6c288939754c302cb397c3c334dff6def41.tar.gz external_llvm-2af4a6c288939754c302cb397c3c334dff6def41.tar.bz2 |
Add a argument to storeRegToStackSlot and storeRegToAddr to specify whether
the stored register is killed.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@44600 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/RegAllocLocal.cpp')
-rw-r--r-- | lib/CodeGen/RegAllocLocal.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/RegAllocLocal.cpp b/lib/CodeGen/RegAllocLocal.cpp index a666184..4b4150a 100644 --- a/lib/CodeGen/RegAllocLocal.cpp +++ b/lib/CodeGen/RegAllocLocal.cpp @@ -286,7 +286,7 @@ void RALocal::spillVirtReg(MachineBasicBlock &MBB, const TargetRegisterClass *RC = MF->getSSARegMap()->getRegClass(VirtReg); int FrameIndex = getStackSpaceFor(VirtReg, RC); DOUT << " to stack slot #" << FrameIndex; - RegInfo->storeRegToStackSlot(MBB, I, PhysReg, FrameIndex, RC); + RegInfo->storeRegToStackSlot(MBB, I, PhysReg, true, FrameIndex, RC); ++NumStores; // Update statistics } |