aboutsummaryrefslogtreecommitdiff
path: root/translate-all.c
diff options
context:
space:
mode:
authorblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2008-04-08 19:29:54 +0000
committerblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2008-04-08 19:29:54 +0000
commita20e31dcf0260ced84729ebab39c0181ae1966d7 (patch)
tree75c10b696de7203bc275e3d3ccf1772510ae1fd6 /translate-all.c
parent002bac8eaebbe99b2ff8706261b6fe16a59d0424 (diff)
downloadqemu-a20e31dcf0260ced84729ebab39c0181ae1966d7.zip
qemu-a20e31dcf0260ced84729ebab39c0181ae1966d7.tar.gz
qemu-a20e31dcf0260ced84729ebab39c0181ae1966d7.tar.bz2
Use a common constant for temp_buf size
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4176 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'translate-all.c')
-rw-r--r--translate-all.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/translate-all.c b/translate-all.c
index 061bb90..d16d218 100644
--- a/translate-all.c
+++ b/translate-all.c
@@ -85,7 +85,7 @@ void cpu_gen_init(void)
{
tcg_context_init(&tcg_ctx);
tcg_set_frame(&tcg_ctx, TCG_AREG0, offsetof(CPUState, temp_buf),
- 128 * sizeof(long));
+ CPU_TEMP_BUF_NLONGS * sizeof(long));
}
/* return non zero if the very first instruction is invalid so that