From 21c2fcb929ed0cb2ec2be41bc084d8c55538e477 Mon Sep 17 00:00:00 2001 From: "Wolfgang (Blub) Bumiller" Date: Wed, 21 Nov 2012 19:22:28 +0100 Subject: [PATCH] A note about how early-out in if-expressions can be translated more efficiently --- ast.h | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/ast.h b/ast.h index 989fae7..f0e9e6b 100644 --- a/ast.h +++ b/ast.h @@ -552,6 +552,15 @@ struct ast_function_s ir_block *breakblock; ir_block *continueblock; +#if 0 + /* In order for early-out logic not to go over + * excessive jumps, we remember their target + * blocks... + */ + ir_block *iftrue; + ir_block *iffalse; +#endif + size_t labelcount; /* in order for thread safety - for the optional * channel abesed multithreading... keeping a buffer -- 2.39.2