OSDN Git Service

tcg: Make call address a constant parameter
authorRichard Henderson <rth@twiddle.net>
Sun, 23 Mar 2014 03:06:52 +0000 (20:06 -0700)
committerRichard Henderson <rth@twiddle.net>
Mon, 12 May 2014 18:13:12 +0000 (11:13 -0700)
commitcf066674280c65a9e035eca073ce3a05887af502
treef2dce1a27d384289713798b12e5fe455209ef43a
parentdddbb2e1e3f8137d7e3f1faf9758c66cca0c94ea
tcg: Make call address a constant parameter

Avoid allocating a tcg temporary to hold the constant address,
and instead place it directly into the op_call arguments.

At the same time, convert to the newly introduced tcg_out_call
backend function, rather than invoking tcg_out_op for the call.

Signed-off-by: Richard Henderson <rth@twiddle.net>
tcg/optimize.c
tcg/tcg-op.h
tcg/tcg-opc.h
tcg/tcg.c
tcg/tcg.h