mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-26 05:32:25 +00:00
fix warnings on sparc
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9759 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
2bee057a56
commit
5cea0e142c
@ -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