1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 11:42:57 +01:00

Silence some uninit variable warnings.

llvm-svn: 20284
This commit is contained in:
Chris Lattner 2005-02-23 05:57:21 +00:00
parent a981a711aa
commit 9838ab1271

View File

@ -2933,6 +2933,7 @@ void ISel::Select(SDOperand N) {
RP.push_back(std::make_pair(getRegPressure(N.getOperand(2)), 2));
std::sort(RP.begin(), RP.end());
Tmp1 = 0; // Silence a warning.
for (unsigned i = 0; i != 3; ++i)
switch (RP[2-i].second) {
default: assert(0 && "Unknown operand number!");
@ -2989,6 +2990,7 @@ void ISel::Select(SDOperand N) {
RP.push_back(std::make_pair(getRegPressure(N.getOperand(2)), 2));
std::sort(RP.begin(), RP.end());
Tmp1 = 0; // Silence a warning.
for (unsigned i = 0; i != 3; ++i)
switch (RP[2-i].second) {
default: assert(0 && "Unknown operand number!");