missed trampoline_table patch. Move to GCC.
This commit is contained in:
@@ -297,7 +297,12 @@ size_t ffi_java_raw_size (ffi_cif *cif);
|
|||||||
__declspec(align(8))
|
__declspec(align(8))
|
||||||
#endif
|
#endif
|
||||||
typedef struct {
|
typedef struct {
|
||||||
|
#if @FFI_EXEC_TRAMPOLINE_TABLE@
|
||||||
|
void *trampoline_table;
|
||||||
|
void *trampoline_table_entry;
|
||||||
|
#else
|
||||||
char tramp[FFI_TRAMPOLINE_SIZE];
|
char tramp[FFI_TRAMPOLINE_SIZE];
|
||||||
|
#endif
|
||||||
ffi_cif *cif;
|
ffi_cif *cif;
|
||||||
void (*fun)(ffi_cif*,void*,void**,void*);
|
void (*fun)(ffi_cif*,void*,void**,void*);
|
||||||
void *user_data;
|
void *user_data;
|
||||||
@@ -330,8 +335,12 @@ ffi_prep_closure_loc (ffi_closure*,
|
|||||||
# pragma pack 8
|
# pragma pack 8
|
||||||
#endif
|
#endif
|
||||||
typedef struct {
|
typedef struct {
|
||||||
|
#if @FFI_EXEC_TRAMPOLINE_TABLE@
|
||||||
|
void *trampoline_table;
|
||||||
|
void *trampoline_table_entry;
|
||||||
|
#else
|
||||||
char tramp[FFI_TRAMPOLINE_SIZE];
|
char tramp[FFI_TRAMPOLINE_SIZE];
|
||||||
|
#endif
|
||||||
ffi_cif *cif;
|
ffi_cif *cif;
|
||||||
|
|
||||||
#if !FFI_NATIVE_RAW_API
|
#if !FFI_NATIVE_RAW_API
|
||||||
@@ -351,7 +360,12 @@ typedef struct {
|
|||||||
} ffi_raw_closure;
|
} ffi_raw_closure;
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
|
#if @FFI_EXEC_TRAMPOLINE_TABLE@
|
||||||
|
void *trampoline_table;
|
||||||
|
void *trampoline_table_entry;
|
||||||
|
#else
|
||||||
char tramp[FFI_TRAMPOLINE_SIZE];
|
char tramp[FFI_TRAMPOLINE_SIZE];
|
||||||
|
#endif
|
||||||
|
|
||||||
ffi_cif *cif;
|
ffi_cif *cif;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user