diff options
author | blueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-03-08 13:33:42 +0000 |
---|---|---|
committer | blueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-03-08 13:33:42 +0000 |
commit | b3db87581213138e8a90862816051ca5f885e6d5 (patch) | |
tree | 9ed4d22c06de143683f1fc727dce54e424b9498e /tcg/tcg.c | |
parent | 53cd92731207a4bc53ed778e5d6bd21155513170 (diff) |
Add function prologue, fix pointer load on Sparc64 host
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4027 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'tcg/tcg.c')
-rw-r--r-- | tcg/tcg.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -1685,6 +1685,11 @@ static inline int tcg_gen_code_common(TCGContext *s, uint8_t *gen_code_buf, macro_op_index = -1; args = gen_opparam_buf; op_index = 0; + +#ifdef TCG_TARGET_NEEDS_PROLOGUE + tcg_target_prologue(s); +#endif + for(;;) { opc = gen_opc_buf[op_index]; #ifdef CONFIG_PROFILER |