Starting compiler work. Adding pass TODOs.

This commit is contained in:
Ben Vanik
2013-12-07 01:36:13 -08:00
parent fdb6a5cfa3
commit c2113c116d
16 changed files with 509 additions and 138 deletions

View File

@@ -12,6 +12,8 @@
#include <alloy/core.h>
#include <alloy/hir/function_builder.h>
namespace alloy {
namespace compiler {
@@ -21,6 +23,8 @@ class Pass {
public:
Pass();
virtual ~Pass();
virtual int Run(hir::FunctionBuilder* builder) = 0;
};