Skip to content
Snippets Groups Projects
Commit 47d590df authored by Richard Henderson's avatar Richard Henderson
Browse files

tcg: Move in_code_gen_buffer and tests to region.c


Shortly, the full code_gen_buffer will only be visible
to region.c, so move in_code_gen_buffer out-of-line.

Move the debugging versions of tcg_splitwx_to_{rx,rw}
to region.c as well, so that the compiler gets to see
the implementation of in_code_gen_buffer.

This leaves exactly one use of in_code_gen_buffer outside
of region.c, in cpu_restore_state.  Which, being on the
exception path, is not performance critical.

Reviewed-by: default avatarAlex Bennée <alex.bennee@linaro.org>
Reviewed-by: default avatarLuis Pires <luis.pires@eldorado.org.br>
Signed-off-by: default avatarRichard Henderson <richard.henderson@linaro.org>
parent a4df1b2d
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment