Moving cpu/runtime/ to cpu/.

This commit is contained in:
Ben Vanik
2015-03-24 08:25:58 -07:00
parent 29912f44c0
commit 9281d62106
102 changed files with 394 additions and 771 deletions

View File

@@ -16,9 +16,7 @@
namespace xe {
namespace cpu {
namespace runtime {
class Runtime;
} // namespace runtime
} // namespace cpu
} // namespace xe
@@ -30,10 +28,10 @@ class Assembler;
class Backend {
public:
Backend(runtime::Runtime* runtime);
Backend(Runtime* runtime);
virtual ~Backend();
runtime::Runtime* runtime() const { return runtime_; }
Runtime* runtime() const { return runtime_; }
const MachineInfo* machine_info() const { return &machine_info_; }
virtual int Initialize();
@@ -44,7 +42,7 @@ class Backend {
virtual std::unique_ptr<Assembler> CreateAssembler() = 0;
protected:
runtime::Runtime* runtime_;
Runtime* runtime_;
MachineInfo machine_info_;
};