URL
https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk
Only display areas with differences |
Details |
Blame |
View Log
Rev 24 |
Rev 157 |
/* This is intended to be a vague simulation of cfront output. */
|
/* This is intended to be a vague simulation of cfront output. */
|
#ifdef PROTOTYPES
|
#ifdef PROTOTYPES
|
#line 1 "langs2.cxx"
|
#line 1 "langs2.cxx"
|
extern int csub (int);
|
extern int csub (int);
|
int
|
int
|
foo__Fi (int x)
|
foo__Fi (int x)
|
{
|
{
|
return csub (x / 2);
|
return csub (x / 2);
|
}
|
}
|
|
|
extern int cppsub_ (int *y);
|
extern int cppsub_ (int *y);
|
int
|
int
|
cppsub_ (int * y)
|
cppsub_ (int * y)
|
{
|
{
|
return foo__Fi (*y);
|
return foo__Fi (*y);
|
}
|
}
|
#else
|
#else
|
#line 1 "langs2.cxx"
|
#line 1 "langs2.cxx"
|
extern int csub ();
|
extern int csub ();
|
int
|
int
|
foo__Fi (x) int x;
|
foo__Fi (x) int x;
|
{
|
{
|
return csub (x / 2);
|
return csub (x / 2);
|
}
|
}
|
|
|
extern int cppsub_ ();
|
extern int cppsub_ ();
|
int
|
int
|
cppsub_ (y) int *y;
|
cppsub_ (y) int *y;
|
{
|
{
|
return foo__Fi (*y);
|
return foo__Fi (*y);
|
}
|
}
|
#endif
|
#endif
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.