diff options
| author | Richard Henderson | 2015-09-02 00:51:12 +0200 |
|---|---|---|
| committer | Richard Henderson | 2015-10-07 11:36:51 +0200 |
| commit | bad729e272387de7dbfa3ec4319036552fc6c107 (patch) | |
| tree | 94e36f4afab09565c1fe76e8500b4fc5620a2833 /include/exec | |
| parent | tcg: Add TCG_MAX_INSNS (diff) | |
| download | qemu-bad729e272387de7dbfa3ec4319036552fc6c107.tar.gz qemu-bad729e272387de7dbfa3ec4319036552fc6c107.tar.xz qemu-bad729e272387de7dbfa3ec4319036552fc6c107.zip | |
tcg: Pass data argument to restore_state_to_opc
The gen_opc_* arrays are already redundant with the data stored in
the insn_start arguments. Transition restore_state_to_opc to use
data from the latter.
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 'include/exec')
| -rw-r--r-- | include/exec/exec-all.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/exec/exec-all.h b/include/exec/exec-all.h index 5340745b0a..6a698026b5 100644 --- a/include/exec/exec-all.h +++ b/include/exec/exec-all.h @@ -75,7 +75,7 @@ typedef struct TranslationBlock TranslationBlock; void gen_intermediate_code(CPUArchState *env, struct TranslationBlock *tb); void gen_intermediate_code_pc(CPUArchState *env, struct TranslationBlock *tb); void restore_state_to_opc(CPUArchState *env, struct TranslationBlock *tb, - int pc_pos); + target_ulong *data); void cpu_gen_init(void); bool cpu_restore_state(CPUState *cpu, uintptr_t searched_pc); |
