CodeGen: Added x64 code generator skeleton.

git-svn-id: http://svn.purei.org/purei/trunk@641 b36208d7-6611-0410-8bec-b1987f11c4a2
This commit is contained in:
jpd002 2010-05-05 04:38:51 +00:00
parent ad6e573710
commit 5a9df26edf
2 changed files with 39 additions and 0 deletions

View File

@ -0,0 +1,18 @@
#include "Jitter_CodeGen_x86_64.h"
using namespace Jitter;
CCodeGen_x86_64::CCodeGen_x86_64()
{
}
CCodeGen_x86_64::~CCodeGen_x86_64()
{
}
unsigned int CCodeGen_x86_64::GetAvailableRegisterCount() const
{
return 7;
}

View File

@ -0,0 +1,21 @@
#ifndef _JITTER_CODEGEN_X86_64_H_
#define _JITTER_CODEGEN_X86_64_H_
#include "Jitter_CodeGen_x86.h"
namespace Jitter
{
class CCodeGen_x86_64 : public CCodeGen_x86
{
public:
CCodeGen_x86_64();
virtual ~CCodeGen_x86_64();
unsigned int GetAvailableRegisterCount() const;
private:
};
}
#endif