From c68a5c29e1b077416f91d538419891584275fe70 Mon Sep 17 00:00:00 2001 From: Dale Weiler Date: Sat, 23 Nov 2013 07:27:09 -0500 Subject: [PATCH] Simplify --- intrin.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/intrin.c b/intrin.c index 9bd8209..acd3846 100644 --- a/intrin.c +++ b/intrin.c @@ -73,10 +73,7 @@ static GMQCC_INLINE void intrin_reg(intrin_t *intrin, ast_value *const value, as static ast_expression *intrin_func_self(intrin_t *intrin, const char *name, const char *from); static ast_expression *intrin_nullfunc(intrin_t *intrin) { ast_value *value = NULL; - ast_function *func = intrin_value(intrin, &value, "nil", TYPE_VOID); - - vec_push(func->blocks, ast_block_new(intrin_ctx(intrin))); - + ast_function *func = intrin_value(intrin, &value, NULL, TYPE_VOID); intrin_reg(intrin, value, func); return (ast_expression*)value; } -- 2.39.2