mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-26 12:50:30 +00:00
fix warnings on sparc
llvm-svn: 9759
This commit is contained in:
parent
e060df5b2c
commit
24f8a6f223
@ -414,7 +414,7 @@ makeCostArray()
|
||||
|
||||
fprintf(outfile, "short %s_cost[][%d] = {\n", prefix, DELTAWIDTH);
|
||||
for (i = 0; i <= max_erule_num; i++) {
|
||||
makeCostVector(pVector[i], pVector[i] ? pVector[i]->rule->delta : 0);
|
||||
makeCostVector(pVector[i] != 0, pVector[i] ? pVector[i]->rule->delta : 0);
|
||||
fprintf(outfile, ", /* ");
|
||||
printRule(pVector[i], "(none)");
|
||||
fprintf(outfile, " = %d */\n", i);
|
||||
|
@ -31,7 +31,7 @@ zero(t) Item_Set t;
|
||||
int i;
|
||||
DeltaCost base;
|
||||
int exists;
|
||||
int base_nt;
|
||||
int base_nt = 0;
|
||||
|
||||
assert(!t->closed);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user