From bd84ebcf74aa6e622544e1a3ef696bbf489a1540 Mon Sep 17 00:00:00 2001 From: "Wolfgang (Blub) Bumiller" Date: Thu, 3 May 2012 14:04:35 +0200 Subject: [PATCH] ast-test should also finalize functions directly --- test/ast-test.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/ast-test.c b/test/ast-test.c index 00e8c05..1f8a7f6 100644 --- a/test/ast-test.c +++ b/test/ast-test.c @@ -120,6 +120,8 @@ int main() if (!ast_function_codegen(functions_data[i], ir)) { assert(!"failed to generate function"); } + if (!ir_function_finalize(functions_data[i]->ir_func)) + assert(!"finalize on function failed..."); } /* dump */ -- 2.39.2