diff options
author | Chris Lattner <sabre@nondot.org> | 2004-02-26 05:21:21 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2004-02-26 05:21:21 +0000 |
commit | 28a0885929e0f1e5dfde0b2fc7f1b947cdab4bd8 (patch) | |
tree | d91a55277c6192582c5b93ce1b7bae538c0c84bd /llvm/lib/CodeGen/RegAllocLocal.cpp | |
parent | 5e39cf9fbd1bf4af58e63a95f475122dd5100c07 (diff) | |
download | bcm5719-llvm-28a0885929e0f1e5dfde0b2fc7f1b947cdab4bd8.tar.gz bcm5719-llvm-28a0885929e0f1e5dfde0b2fc7f1b947cdab4bd8.zip |
No need to clear the map here, it will always be empty
llvm-svn: 11868
Diffstat (limited to 'llvm/lib/CodeGen/RegAllocLocal.cpp')
-rw-r--r-- | llvm/lib/CodeGen/RegAllocLocal.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/RegAllocLocal.cpp b/llvm/lib/CodeGen/RegAllocLocal.cpp index f3753326ee4..37d600ef81d 100644 --- a/llvm/lib/CodeGen/RegAllocLocal.cpp +++ b/llvm/lib/CodeGen/RegAllocLocal.cpp @@ -683,7 +683,6 @@ bool RA::runOnMachineFunction(MachineFunction &Fn) { // initialize the virtual->physical register map to have a 'null' // mapping for all virtual registers - Virt2PhysRegMap.clear(); Virt2PhysRegMap.grow(MF->getSSARegMap()->getLastVirtReg()); // Loop over all of the basic blocks, eliminating virtual register references |