mirror of
https://github.com/frida/tinycc
synced 2024-11-25 00:59:37 +03:00
Disable callsave_test for arm
Disable callsave_test for arm since it uses alloca which is unavailable on this platform.
This commit is contained in:
parent
c9a2fbaad1
commit
56e23984b9
@ -2665,6 +2665,7 @@ double get100 () { return 100.0; }
|
||||
|
||||
void callsave_test(void)
|
||||
{
|
||||
#if defined __i386__ || defined __x86_64__
|
||||
int i, s; double *d; double t;
|
||||
s = sizeof (double);
|
||||
printf ("callsavetest: %d\n", s);
|
||||
@ -2677,4 +2678,5 @@ void callsave_test(void)
|
||||
generates a segfault. */
|
||||
i = d[0] > get100 ();
|
||||
printf ("%d\n", i);
|
||||
#endif
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user