aboutsummaryrefslogtreecommitdiff
path: root/src/check_type.cpp
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2019-02-10 20:51:19 +0000
committergingerBill <bill@gingerbill.org>2019-02-10 20:51:19 +0000
commite2d46676395ae813312652269b5f5ef0aaa3fe06 (patch)
treed320650bc5965bee85c41f5a8a4a89cc91b2c128 /src/check_type.cpp
parentb74d828af713f3284a46c0bd643836f17034455d (diff)
Fix data layout issue on Windows; Remove unused loads in SSA
Diffstat (limited to 'src/check_type.cpp')
-rw-r--r--src/check_type.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/check_type.cpp b/src/check_type.cpp
index 3eeb40777..953eebdda 100644
--- a/src/check_type.cpp
+++ b/src/check_type.cpp
@@ -1945,11 +1945,11 @@ bool abi_compat_return_by_value(gbAllocator a, ProcCallingConvention cc, Type *a
if (abi_return_type == nullptr) {
return false;
}
- switch (cc) {
- case ProcCC_Odin:
- case ProcCC_Contextless:
- return false;
- }
+ // switch (cc) {
+ // case ProcCC_Odin:
+ // case ProcCC_Contextless:
+ // return false;
+ // }
if (build_context.ODIN_OS == "windows") {