diff options
| author | Ginger Bill <bill@gingerbill.org> | 2017-04-16 16:28:39 +0100 |
|---|---|---|
| committer | Ginger Bill <bill@gingerbill.org> | 2017-04-16 16:28:39 +0100 |
| commit | 67d8f48553209b65a813d643d97939214504ee5e (patch) | |
| tree | 0e3854d348607e019b0777c887c73bc77d50aca8 /src/check_expr.c | |
| parent | b4a339f2e30dbfd411a340ead758e793b2d46772 (diff) | |
Calling convention, change from bitcast to transmute
Diffstat (limited to 'src/check_expr.c')
| -rw-r--r-- | src/check_expr.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/check_expr.c b/src/check_expr.c index 9d4eb0905..ab8611e52 100644 --- a/src/check_expr.c +++ b/src/check_expr.c @@ -1018,6 +1018,7 @@ Type *type_to_abi_compat_param_type(gbAllocator a, Type *original_type) { Type *new_type = original_type; // NOTE(bill): Changing the passing parameter value type is to match C's ABI // IMPORTANT TODO(bill): This only matches the ABI on MSVC at the moment + // SEE: https://msdn.microsoft.com/en-us/library/zthk2dkh.aspx Type *bt = core_type(original_type); switch (bt->kind) { // Okay to pass by value |