93 |
|
// SIGSEGV handler |
94 |
|
static sigsegv_return_t sigsegv_handler(sigsegv_address_t, sigsegv_address_t); |
95 |
|
|
96 |
+ |
// JIT Compiler enabled? |
97 |
+ |
static inline bool enable_jit_p() |
98 |
+ |
{ |
99 |
+ |
return PrefsFindBool("jit"); |
100 |
+ |
} |
101 |
+ |
|
102 |
|
|
103 |
|
/** |
104 |
|
* PowerPC emulator glue with special 'sheep' opcodes |
156 |
|
lazy_allocator< sheepshaver_cpu > allocator_helper< sheepshaver_cpu, lazy_allocator >::allocator; |
157 |
|
|
158 |
|
sheepshaver_cpu::sheepshaver_cpu() |
159 |
< |
: powerpc_cpu() |
159 |
> |
: powerpc_cpu(enable_jit_p()) |
160 |
|
{ |
161 |
|
init_decoder(); |
162 |
|
} |