ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/cebix/SheepShaver/src/kpx_cpu/sheepshaver_glue.cpp
(Generate patch)

Comparing SheepShaver/src/kpx_cpu/sheepshaver_glue.cpp (file contents):
Revision 1.19 by gbeauche, 2003-11-30T17:21:52Z vs.
Revision 1.20 by gbeauche, 2003-12-03T10:52:49Z

# Line 93 | Line 93 | static KernelData * const kernel_data =
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
# Line 150 | Line 156 | public:
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   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines