aboutsummaryrefslogtreecommitdiff
path: root/tcg/tcg.h
diff options
context:
space:
mode:
authorRichard Henderson <rth@twiddle.net>2014-03-30 16:51:54 -0700
committerRichard Henderson <rth@twiddle.net>2015-02-12 21:21:38 -0800
commit0c627cdca20155753a536c51385abb73941a59a0 (patch)
tree3dd962f8a65c7734c193590f661387fcb9fb804e /tcg/tcg.h
parentc45cb8bb89fc798489869982c4c463b26ce43d7b (diff)
tcg: Remove opcodes instead of noping them out
With the linked list scheme we need not leave nops in the stream that we need to process later. Reviewed-by: Bastian Koppelmann <kbastian@mail.uni-paderborn.de> Signed-off-by: Richard Henderson <rth@twiddle.net>
Diffstat (limited to 'tcg/tcg.h')
-rw-r--r--tcg/tcg.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/tcg/tcg.h b/tcg/tcg.h
index 596e30a4b6..f941965d53 100644
--- a/tcg/tcg.h
+++ b/tcg/tcg.h
@@ -743,6 +743,7 @@ void tcg_add_target_add_op_defs(const TCGTargetOpDef *tdefs);
void tcg_gen_callN(TCGContext *s, void *func,
TCGArg ret, int nargs, TCGArg *args);
+void tcg_op_remove(TCGContext *s, TCGOp *op);
void tcg_optimize(TCGContext *s);
/* only used for debugging purposes */