Untested code for static register load/stores.

This commit is contained in:
Ben Vanik
2014-01-26 18:51:56 -08:00
parent 638afa686c
commit 1518523651
3 changed files with 71 additions and 0 deletions

View File

@@ -19,6 +19,7 @@
XEDECLARECLASS2(alloy, hir, HIRBuilder);
XEDECLARECLASS2(alloy, hir, Instr);
XEDECLARECLASS2(alloy, runtime, DebugInfo);
XEDECLARECLASS2(alloy, runtime, Runtime);
namespace alloy {
namespace backend {
@@ -43,6 +44,8 @@ public:
X64Emitter(X64Backend* backend, XbyakAllocator* allocator);
virtual ~X64Emitter();
runtime::Runtime* runtime() const { return runtime_; }
int Initialize();
int Emit(hir::HIRBuilder* builder,
@@ -146,6 +149,7 @@ private:
int Emit(hir::HIRBuilder* builder);
private:
runtime::Runtime* runtime_;
X64Backend* backend_;
X64CodeCache* code_cache_;
XbyakAllocator* allocator_;