2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-07-01 23:33:33 +00:00
2015-10-13 16:16:21 -10:00

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