mirror of https://github.com/AxioDL/metaforce.git
26 lines
410 B
C++
26 lines
410 B
C++
#ifndef HECLBACKEND_HPP
|
|
#define HECLBACKEND_HPP
|
|
|
|
#include "HECL/Frontend.hpp"
|
|
|
|
namespace HECL
|
|
{
|
|
namespace Backend
|
|
{
|
|
|
|
using IR = Frontend::IR;
|
|
using Diagnostics = Frontend::Diagnostics;
|
|
using SourceLocation = Frontend::SourceLocation;
|
|
using ArithmeticOp = IR::Instruction::ArithmeticOpType;
|
|
|
|
class IBackend
|
|
{
|
|
public:
|
|
virtual void reset(const IR& ir, Diagnostics& diag)=0;
|
|
};
|
|
|
|
}
|
|
}
|
|
|
|
#endif // HECLBACKEND_HPP
|