mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-31 07:43:37 +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);
|
fprintf(outfile, "short %s_cost[][%d] = {\n", prefix, DELTAWIDTH);
|
||||||
for (i = 0; i <= max_erule_num; i++) {
|
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, ", /* ");
|
fprintf(outfile, ", /* ");
|
||||||
printRule(pVector[i], "(none)");
|
printRule(pVector[i], "(none)");
|
||||||
fprintf(outfile, " = %d */\n", i);
|
fprintf(outfile, " = %d */\n", i);
|
||||||
|
@ -31,7 +31,7 @@ zero(t) Item_Set t;
|
|||||||
int i;
|
int i;
|
||||||
DeltaCost base;
|
DeltaCost base;
|
||||||
int exists;
|
int exists;
|
||||||
int base_nt;
|
int base_nt = 0;
|
||||||
|
|
||||||
assert(!t->closed);
|
assert(!t->closed);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user