tcg: pass down TranslationBlock to tcg_code_gen
commit5bd2ec3d7b47b2252745882795d79aef36380fb7
authorAlex Bennée <alex.bennee@linaro.org>
Tue, 15 Mar 2016 14:30:16 +0000 (15 14:30 +0000)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 22 Mar 2016 21:20:17 +0000 (22 22:20 +0100)
tree1a53273d4cc4559a10650d1dd81ea519e34c6a4b
parentf348b6d1a53e5271cf1c9f9acc4646b4b98c1771
tcg: pass down TranslationBlock to tcg_code_gen

My later debugging patches need access to the origin PC which is held in
the TranslationBlock structure. Pass down the whole structure as it also
holds the information about the code start point.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Richard Henderson <rth@twiddle.net>
Message-Id: <1458052224-9316-3-git-send-email-alex.bennee@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
tcg/tcg.c
tcg/tcg.h
translate-all.c