Revision 9349b4f9 translate-all.c

b/translate-all.c
51 51
   '*gen_code_size_ptr' contains the size of the generated code (host
52 52
   code).
53 53
*/
54
int cpu_gen_code(CPUState *env, TranslationBlock *tb, int *gen_code_size_ptr)
54
int cpu_gen_code(CPUArchState *env, TranslationBlock *tb, int *gen_code_size_ptr)
55 55
{
56 56
    TCGContext *s = &tcg_ctx;
57 57
    uint8_t *gen_code_buf;
......
109 109
/* The cpu state corresponding to 'searched_pc' is restored.
110 110
 */
111 111
int cpu_restore_state(TranslationBlock *tb,
112
                      CPUState *env, unsigned long searched_pc)
112
                      CPUArchState *env, unsigned long searched_pc)
113 113
{
114 114
    TCGContext *s = &tcg_ctx;
115 115
    int j;

Also available in: Unified diff