diff options
| author | Chris Lattner <sabre@nondot.org> | 2002-10-22 23:34:11 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2002-10-22 23:34:11 +0000 |
| commit | 5ae3bd630dd5df7a403b980e4f5be4170bd156fe (patch) | |
| tree | d68982902819582f479c24e9eb478db41e30d69c /llvm/lib/CodeGen | |
| parent | d3fcf42efc6b2d912a47ec8b50562afacdc2e021 (diff) | |
| download | bcm5719-llvm-5ae3bd630dd5df7a403b980e4f5be4170bd156fe.tar.gz bcm5719-llvm-5ae3bd630dd5df7a403b980e4f5be4170bd156fe.zip | |
Ensure definate initialization
llvm-svn: 4263
Diffstat (limited to 'llvm/lib/CodeGen')
| -rw-r--r-- | llvm/lib/CodeGen/RegAlloc/RegClass.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/RegAlloc/RegClass.cpp b/llvm/lib/CodeGen/RegAlloc/RegClass.cpp index b92b70997ba..788921ba019 100644 --- a/llvm/lib/CodeGen/RegAlloc/RegClass.cpp +++ b/llvm/lib/CodeGen/RegAlloc/RegClass.cpp @@ -158,7 +158,7 @@ IGNode * RegClass::getIGNodeWithMinSpillCost() { unsigned int IGNodeListSize = IG.getIGNodeList().size(); - double MinSpillCost; + double MinSpillCost = 0; IGNode *MinCostIGNode = NULL; bool isFirstNode = true; |

