diff options
| author | Richard Henderson | 2015-08-31 23:34:41 +0200 |
|---|---|---|
| committer | Richard Henderson | 2015-10-07 11:36:50 +0200 |
| commit | 190ce7fbc79fd0883a6170d7f30da59d366e6830 (patch) | |
| tree | b51499526739d5ac8a550e72b4e3e94214f48fcc /tcg | |
| parent | target-*: Drop cpu_gen_code define (diff) | |
| download | qemu-190ce7fbc79fd0883a6170d7f30da59d366e6830.tar.gz qemu-190ce7fbc79fd0883a6170d7f30da59d366e6830.tar.xz qemu-190ce7fbc79fd0883a6170d7f30da59d366e6830.zip | |
tcg: Add TCG_MAX_INSNS
Adjust all translators to respect it.
Reviewed-by: Aurelien Jarno <aurelien@aurel32.net>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Richard Henderson <rth@twiddle.net>
Diffstat (limited to 'tcg')
| -rw-r--r-- | tcg/tcg.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -194,6 +194,7 @@ typedef struct TCGPool { #define TCG_POOL_CHUNK_SIZE 32768 #define TCG_MAX_TEMPS 512 +#define TCG_MAX_INSNS 512 /* when the size of the arguments of a called function is smaller than this value, they are statically allocated in the TB stack frame */ |
