From 3ef3683769f43e4746c83f9a10e3c6490568797c Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=A9mie=20Astor?= Date: Mon, 16 Aug 2021 14:30:18 +0200 Subject: [PATCH] :art: Disable inlining for now --- src/emit/emit.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/emit/emit.c b/src/emit/emit.c index d35b606e..83685362 100644 --- a/src/emit/emit.c +++ b/src/emit/emit.c @@ -1158,7 +1158,7 @@ ANN static inline m_bool emit_inline(const Emitter emit, const Func f, } ANN static m_bool _emit_exp_call(const Emitter emit, const Exp_Call *exp_call) { - +/* #ifndef GWION_NOINLINE const Func _f = is_inlinable(emit, exp_call); if(_f) { @@ -1171,7 +1171,7 @@ ANN static m_bool _emit_exp_call(const Emitter emit, const Exp_Call *exp_call) { return ret; } #endif - +*/ // skip when recursing const Type t = actual_type(emit->gwion, exp_call->func->type); const Func f = t->info->func; -- 2.43.0