aarch64: Add support for Go closures

This commit is contained in:
Richard Henderson
2014-11-12 09:29:32 +01:00
committed by Richard Henderson
parent 0e41c73b09
commit c6352b664c
3 changed files with 112 additions and 6 deletions
+4
View File
@@ -50,6 +50,10 @@ typedef enum ffi_abi
#if defined (__APPLE__)
#define FFI_TARGET_SPECIFIC_VARIADIC
#define FFI_EXTRA_CIF_FIELDS unsigned aarch64_nfixedargs
#else
/* iOS reserves x18 for the system. Disable Go closures until
a new static chain is chosen. */
#define FFI_GO_CLOSURES 1
#endif
#define FFI_TARGET_HAS_COMPLEX_TYPE