From e2d46676395ae813312652269b5f5ef0aaa3fe06 Mon Sep 17 00:00:00 2001 From: gingerBill Date: Sun, 10 Feb 2019 20:51:19 +0000 Subject: Fix data layout issue on Windows; Remove unused loads in SSA --- src/check_type.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/check_type.cpp') 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") { -- cgit v1.2.3