Revision 988d7eaa target-sh4/translate.c

b/target-sh4/translate.c
31 31
#include "cpu.h"
32 32
#include "exec-all.h"
33 33
#include "disas.h"
34
#include "helper.h"
34 35
#include "tcg-op.h"
35 36
#include "qemu-common.h"
36 37

  
......
68 69
    cpu_env = tcg_global_reg_new(TCG_TYPE_PTR, TCG_AREG0, "env");
69 70
    cpu_T[0] = tcg_global_reg_new(TCG_TYPE_TL, TCG_AREG1, "T0");
70 71
    cpu_T[1] = tcg_global_reg_new(TCG_TYPE_TL, TCG_AREG2, "T1");
72

  
73
    /* register helpers */
74
#undef DEF_HELPER
75
#define DEF_HELPER(ret, name, params) tcg_register_helper(name, #name);
76
#include "helper.h"
77

  
71 78
    done_init = 1;
72 79
}
73 80

  

Also available in: Unified diff