unicorn/qemu/target
Richard Henderson cd538f0b7e
tcg: Initialize cpu_env generically
This is identical for each target. So, move the initialization to
common code. Move the variable itself out of tcg_ctx and name it
cpu_env to minimize changes within targets.

This also means we can remove tcg_global_reg_new_{ptr,i32,i64},
since there are no longer global-register temps created by targets.

Backports commit 1c2adb958fc07e5b3e81ed21b801c04a15f41f4f from qemu
2018-03-15 15:49:19 -04:00
..
arm tcg: Initialize cpu_env generically 2018-03-15 15:49:19 -04:00
i386 tcg: Initialize cpu_env generically 2018-03-15 15:49:19 -04:00
m68k tcg: Initialize cpu_env generically 2018-03-15 15:49:19 -04:00
mips tcg: Initialize cpu_env generically 2018-03-15 15:49:19 -04:00
sparc tcg: Initialize cpu_env generically 2018-03-15 15:49:19 -04:00