summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/RegAllocSimple.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-08-15 21:56:44 +0000
committerChris Lattner <sabre@nondot.org>2004-08-15 21:56:44 +0000
commit98de1d7795ae84e70f3ddb8af7b0e167f97a9576 (patch)
treeb770229053d0314c421d7d4e630850bde161739b /llvm/lib/CodeGen/RegAllocSimple.cpp
parent3e0ea4593a1324958571718667266b67b0149a1d (diff)
downloadbcm5719-llvm-98de1d7795ae84e70f3ddb8af7b0e167f97a9576.tar.gz
bcm5719-llvm-98de1d7795ae84e70f3ddb8af7b0e167f97a9576.zip
These methods no longer take a TargetRegisterClass* operand.
llvm-svn: 15774
Diffstat (limited to 'llvm/lib/CodeGen/RegAllocSimple.cpp')
-rw-r--r--llvm/lib/CodeGen/RegAllocSimple.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/RegAllocSimple.cpp b/llvm/lib/CodeGen/RegAllocSimple.cpp
index 4c1e371c723..320b2679337 100644
--- a/llvm/lib/CodeGen/RegAllocSimple.cpp
+++ b/llvm/lib/CodeGen/RegAllocSimple.cpp
@@ -131,7 +131,7 @@ unsigned RegAllocSimple::reloadVirtReg(MachineBasicBlock &MBB,
// Add move instruction(s)
++NumLoads;
- RegInfo->loadRegFromStackSlot(MBB, I, PhysReg, FrameIdx, RC);
+ RegInfo->loadRegFromStackSlot(MBB, I, PhysReg, FrameIdx);
return PhysReg;
}
@@ -143,7 +143,7 @@ void RegAllocSimple::spillVirtReg(MachineBasicBlock &MBB,
// Add move instruction(s)
++NumStores;
- RegInfo->storeRegToStackSlot(MBB, I, PhysReg, FrameIdx, RC);
+ RegInfo->storeRegToStackSlot(MBB, I, PhysReg, FrameIdx);
}
OpenPOWER on IntegriCloud