summaryrefslogtreecommitdiff
path: root/tcg/tcg-dyngen.c
diff options
context:
space:
mode:
Diffstat (limited to 'tcg/tcg-dyngen.c')
-rw-r--r--tcg/tcg-dyngen.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tcg/tcg-dyngen.c b/tcg/tcg-dyngen.c
index 1cc084e6ef..5780372124 100644
--- a/tcg/tcg-dyngen.c
+++ b/tcg/tcg-dyngen.c
@@ -464,6 +464,7 @@ static inline void ia64_apply_fixes (uint8_t **gen_code_pp,
#endif
#endif
+#ifndef CONFIG_NO_DYNGEN_OP
const TCGArg *dyngen_op(TCGContext *s, int opc, const TCGArg *opparam_ptr)
{
uint8_t *gen_code_ptr;
@@ -480,3 +481,4 @@ const TCGArg *dyngen_op(TCGContext *s, int opc, const TCGArg *opparam_ptr)
s->code_ptr = gen_code_ptr;
return opparam_ptr;
}
+#endif