Moving cpu/frontend/ppc/ to cpu/frontend/.

This commit is contained in:
Ben Vanik
2015-03-24 08:37:00 -07:00
parent 9281d62106
commit 3279776a80
404 changed files with 255 additions and 385 deletions

View File

@@ -13,7 +13,7 @@
#include "poly/poly.h"
#include "xdb/protocol.h"
#include "xenia/cpu/frontend/ppc/ppc_frontend.h"
#include "xenia/cpu/frontend/ppc_frontend.h"
#include "xenia/cpu/module.h"
#include "xenia/cpu/thread_state.h"
@@ -25,9 +25,6 @@ DEFINE_string(runtime_backend, "any", "Runtime backend [any, x64].");
namespace xe {
namespace cpu {
using xe::cpu::backend::Backend;
using xe::cpu::frontend::Frontend;
class BuiltinModule : public Module {
public:
BuiltinModule(Runtime* runtime) : Module(runtime), name_("builtin") {}
@@ -61,7 +58,7 @@ Runtime::~Runtime() {
}
int Runtime::Initialize(std::unique_ptr<xe::cpu::backend::Backend> backend) {
auto frontend = std::make_unique<xe::cpu::frontend::ppc::PPCFrontend>(this);
auto frontend = std::make_unique<xe::cpu::frontend::PPCFrontend>(this);
// TODO(benvanik): set options/etc.
// Must be initialized by subclass before calling into this.