translate-all: consolidate tb init in tb_gen_code
commit2b48e10f888059a98043b4816769fa2a326a1d2c
authorEmilio G. Cota <cota@braap.org>
Fri, 9 Jun 2017 19:55:22 +0000 (9 15:55 -0400)
committerRichard Henderson <rth@twiddle.net>
Mon, 19 Jun 2017 18:10:59 +0000 (19 11:10 -0700)
tree3738b4cf1759d37cdd900da942628349a810f101
parent6e3b2bfd6af488a896f7936e99ef160f8f37e6f2
translate-all: consolidate tb init in tb_gen_code

We are partially initializing tb in tb_alloc. Instead, fully
initialize it in tb_gen_code, which is tb_alloc's only caller.

This saves an unnecessary write to tb->cflags.

Signed-off-by: Emilio G. Cota <cota@braap.org>
Message-Id: <1497038122-26364-1-git-send-email-cota@braap.org>
Signed-off-by: Richard Henderson <rth@twiddle.net>
translate-all.c