/** ****************************************************************************** * Xenia : Xbox 360 Emulator Research Project * ****************************************************************************** * Copyright 2013 Ben Vanik. All rights reserved. * * Released under the BSD license - see LICENSE in the root for more details. * ****************************************************************************** */ #ifndef ALLOY_COMPILER_COMPILER_H_ #define ALLOY_COMPILER_COMPILER_H_ #include #include namespace alloy { namespace compiler { class Pass; class Compiler { public: Compiler(); ~Compiler(); void AddPass(Pass* pass); void Reset(); int Compile(hir::FunctionBuilder* builder); private: typedef std::vector PassList; PassList passes_; }; } // namespace compiler } // namespace alloy #endif // ALLOY_COMPILER_COMPILER_H_