diff options
author | Carol Eidt <carol.eidt@microsoft.com> | 2018-03-15 08:21:25 -0700 |
---|---|---|
committer | Carol Eidt <carol.eidt@microsoft.com> | 2018-04-17 16:15:14 -0700 |
commit | 32480530dbcd0936e4292bdd50e5a94002f8dba2 (patch) | |
tree | 333c33b54dce6addf25ec10419e7eb8ed742e05f /src/vm/fcall.h | |
parent | 963e5a9f08ed7c664036ef9b7050374b66f71d64 (diff) | |
download | coreclr-32480530dbcd0936e4292bdd50e5a94002f8dba2.tar.gz coreclr-32480530dbcd0936e4292bdd50e5a94002f8dba2.tar.bz2 coreclr-32480530dbcd0936e4292bdd50e5a94002f8dba2.zip |
Unix/x64 ABI cleanup
Eliminate `FEATURE_UNIX_AMD64_STRUCT_PASSING` and replace it with `UNIX_AMD64_ABI` when used alone. Both are currently defined; it is highly unlikely the latter will work alone; and it significantly clutters up the code, especially the JIT.
Also, fix the altjit support (now `UNIX_AMD64_ABI_ITF`) to *not* call `ClassifyEightBytes` if the struct is too large. Otherwise it asserts.
Diffstat (limited to 'src/vm/fcall.h')
-rw-r--r-- | src/vm/fcall.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/vm/fcall.h b/src/vm/fcall.h index c50c6edbd7..e7465bab80 100644 --- a/src/vm/fcall.h +++ b/src/vm/fcall.h @@ -1333,14 +1333,8 @@ typedef UINT16 FC_UINT16_RET; // FC_TypedByRef should be used for TypedReferences in FCall signatures -#if defined(UNIX_AMD64_ABI) && !defined(FEATURE_UNIX_AMD64_STRUCT_PASSING) -// Explicitly pass the TypedReferences by reference -#define FC_TypedByRef TypedByRef& -#define FC_DECIMAL DECIMAL& -#else #define FC_TypedByRef TypedByRef #define FC_DECIMAL DECIMAL -#endif // The fcall entrypoints has to be at unique addresses. Use this helper macro to make |