URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Only display areas with differences |
Details |
Blame |
View Log
Rev 297 |
Rev 338 |
struct z_candidate { struct z_candidate *next;int viable;};
|
struct z_candidate { struct z_candidate *next;int viable;};
|
int pedantic;
|
int pedantic;
|
|
|
static struct z_candidate *
|
static struct z_candidate *
|
splice_viable (cands)
|
splice_viable (cands)
|
struct z_candidate *cands;
|
struct z_candidate *cands;
|
{
|
{
|
struct z_candidate **p = &cands;
|
struct z_candidate **p = &cands;
|
|
|
for (; *p; )
|
for (; *p; )
|
{
|
{
|
if (pedantic ? (*p)->viable == 1 : (*p)->viable)
|
if (pedantic ? (*p)->viable == 1 : (*p)->viable)
|
p = &((*p)->next);
|
p = &((*p)->next);
|
else
|
else
|
*p = (*p)->next;
|
*p = (*p)->next;
|
}
|
}
|
|
|
return cands;
|
return cands;
|
}
|
}
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.