aboutsummaryrefslogtreecommitdiff
path: root/src/tilde_const.cpp
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2023-07-17 16:56:10 +0100
committergingerBill <bill@gingerbill.org>2023-07-17 16:56:10 +0100
commitbd73834e196d21aaed0bb1fd0a3d84e323b8aba7 (patch)
tree356b6b2539cb0eb579e59057f16d7058a363f517 /src/tilde_const.cpp
parent7f43c2429707c7b76c2703e9e8ba20d8c449ebad (diff)
Update Tilde; mock out `cg_build_return_stmt`
128-bit types are broken
Diffstat (limited to 'src/tilde_const.cpp')
-rw-r--r--src/tilde_const.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tilde_const.cpp b/src/tilde_const.cpp
index 35c87641f..75b66567e 100644
--- a/src/tilde_const.cpp
+++ b/src/tilde_const.cpp
@@ -86,7 +86,7 @@ gb_internal cgValue cg_const_value(cgModule *m, cgProcedure *p, Type *type, Exac
return cg_value(tb_inst_uint(p->func, dt, value.value_bool), type);
case ExactValue_Integer:
- GB_ASSERT(dt.raw != TB_TYPE_I128.raw);
+ // GB_ASSERT(dt.raw != TB_TYPE_I128.raw);
if (is_type_unsigned(type)) {
u64 i = exact_value_to_u64(value);
return cg_value(tb_inst_uint(p->func, dt, i), type);