projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3f3a17d
)
Clean up.
author
Evan Cheng
<evan.cheng@apple.com>
Wed, 25 Apr 2007 21:34:08 +0000
(21:34 +0000)
committer
Evan Cheng
<evan.cheng@apple.com>
Wed, 25 Apr 2007 21:34:08 +0000
(21:34 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36449
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/LiveVariables.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/LiveVariables.cpp
b/lib/CodeGen/LiveVariables.cpp
index 19ea588cd03346be4c75eb7375ec5bb3b58f1a80..a2b1703ce690cc5dc0365d804a3792c5a8cc5920 100644
(file)
--- a/
lib/CodeGen/LiveVariables.cpp
+++ b/
lib/CodeGen/LiveVariables.cpp
@@
-438,10
+438,8
@@
bool LiveVariables::runOnMachineFunction(MachineFunction &mf) {
HandlePhysRegDef(i, 0);
// Clear some states between BB's. These are purely local information.
- for (unsigned i = 0; i != NumRegs; ++i)
{
+ for (unsigned i = 0; i != NumRegs; ++i)
PhysRegPartDef[i].clear();
- //PhysRegPartUse[i] = NULL;
- }
std::fill(PhysRegPartUse, PhysRegPartUse + NumRegs, (MachineInstr*)0);
}