mirror of https://gitlab.com/qemu-project/qemu
accel/tcg/plugin-gen: Drop inline markers
Let the compiler decide on inlining. Tested-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
parent
90163900e3
commit
9a3ee36609
|
@ -160,8 +160,7 @@ static void gen_empty_mem_helper(void)
|
||||||
tcg_temp_free_ptr(ptr);
|
tcg_temp_free_ptr(ptr);
|
||||||
}
|
}
|
||||||
|
|
||||||
static inline
|
static void gen_plugin_cb_start(enum plugin_gen_from from,
|
||||||
void gen_plugin_cb_start(enum plugin_gen_from from,
|
|
||||||
enum plugin_gen_cb type, unsigned wr)
|
enum plugin_gen_cb type, unsigned wr)
|
||||||
{
|
{
|
||||||
TCGOp *op;
|
TCGOp *op;
|
||||||
|
@ -179,7 +178,7 @@ static void gen_wrapped(enum plugin_gen_from from,
|
||||||
tcg_gen_plugin_cb_end();
|
tcg_gen_plugin_cb_end();
|
||||||
}
|
}
|
||||||
|
|
||||||
static inline void plugin_gen_empty_callback(enum plugin_gen_from from)
|
static void plugin_gen_empty_callback(enum plugin_gen_from from)
|
||||||
{
|
{
|
||||||
switch (from) {
|
switch (from) {
|
||||||
case PLUGIN_GEN_AFTER_INSN:
|
case PLUGIN_GEN_AFTER_INSN:
|
||||||
|
@ -513,9 +512,8 @@ static bool op_rw(const TCGOp *op, const struct qemu_plugin_dyn_cb *cb)
|
||||||
return !!(cb->rw & (w + 1));
|
return !!(cb->rw & (w + 1));
|
||||||
}
|
}
|
||||||
|
|
||||||
static inline
|
static void inject_cb_type(const GArray *cbs, TCGOp *begin_op,
|
||||||
void inject_cb_type(const GArray *cbs, TCGOp *begin_op, inject_fn inject,
|
inject_fn inject, op_ok_fn ok)
|
||||||
op_ok_fn ok)
|
|
||||||
{
|
{
|
||||||
TCGOp *end_op;
|
TCGOp *end_op;
|
||||||
TCGOp *op;
|
TCGOp *op;
|
||||||
|
|
Loading…
Reference in New Issue