summaryrefslogtreecommitdiff
path: root/translate-all.c
diff options
context:
space:
mode:
authorBlue Swirl <blauwirbel@gmail.com>2011-05-14 12:58:04 +0000
committerBlue Swirl <blauwirbel@gmail.com>2011-06-26 18:25:43 +0000
commit614f104dfd2bf6d25170fb0afc086920cc7c407b (patch)
tree35fb22e13fe420bf0addb0b42a0abf230b2f0347 /translate-all.c
parentcea5f9a28faa528b6b1b117c9ab2d8828f473fef (diff)
downloadqemu-614f104dfd2bf6d25170fb0afc086920cc7c407b.tar.gz
qemu-614f104dfd2bf6d25170fb0afc086920cc7c407b.tar.bz2
qemu-614f104dfd2bf6d25170fb0afc086920cc7c407b.zip
Delegate setup of TCG temporaries to targets
Delegate TCG temp_buf setup to targets, so that they can use a stack frame later instead. Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'translate-all.c')
-rw-r--r--translate-all.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/translate-all.c b/translate-all.c
index 24878aac5c..041c108948 100644
--- a/translate-all.c
+++ b/translate-all.c
@@ -43,8 +43,6 @@ uint8_t gen_opc_instr_start[OPC_BUF_SIZE];
void cpu_gen_init(void)
{
tcg_context_init(&tcg_ctx);
- tcg_set_frame(&tcg_ctx, TCG_AREG0, offsetof(CPUState, temp_buf),
- CPU_TEMP_BUF_NLONGS * sizeof(long));
}
/* return non zero if the very first instruction is invalid so that