scc

simple C compiler
git clone git://git.2f30.org/scc
Log | Files | Refs | README | LICENSE

commit 53031b3938c7edfd52ac31b7fe80c782fec3dfcd
parent d8a15f012e8b7c75c9034e7d42d9766126fb68dc
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date:   Wed, 17 Aug 2016 17:53:18 +0200

[cc2-qbe] Do not break bb in calls

Calls are not bb in qbe, because although they break the control
flow, the flowe eventually returns to the original point.

Diffstat:
Mcc2/arch/qbe/code.c | 1-
1 file changed, 0 insertions(+), 1 deletion(-)

diff --git a/cc2/arch/qbe/code.c b/cc2/arch/qbe/code.c @@ -487,7 +487,6 @@ getbblocks(void) i = pc->from1.u.sym->u.inst; i->flags |= BBENTRY; case ASRET: - case ASCALL: if (pc->next) pc->next->flags |= BBENTRY; break;