Adding 'x64' backend.

Does not compile.
This commit is contained in:
Ben Vanik
2013-05-23 18:04:12 -07:00
parent 86002b2f44
commit bedf86d259
16 changed files with 5116 additions and 3 deletions

View File

@@ -46,7 +46,7 @@ int Run::Setup() {
xe_zero_struct(&pal_options, sizeof(pal_options));
XEEXPECTZERO(xe_pal_init(pal_options));
//backend_ = shared_ptr<Backend>(new xe::cpu::libjit::LibjitBackend());
backend_ = shared_ptr<Backend>(new xe::cpu::x64::X64Backend());
debugger_ = shared_ptr<Debugger>(new Debugger());

View File

@@ -120,7 +120,7 @@ int run_test(string& src_file_path) {
memory = xe_memory_create(memory_options);
XEEXPECTNOTNULL(memory);
backend_ = shared_ptr<Backend>(new xe::cpu::libjit::LibjitBackend());
backend_ = shared_ptr<Backend>(new xe::cpu::x64::X64Backend());
processor = shared_ptr<Processor>(new Processor(memory, backend));
XEEXPECTZERO(processor->Setup());