LIR skeleton, renaming some types to prevent conflict.
This commit is contained in:
29
src/alloy/compiler/compiler_pass.cc
Normal file
29
src/alloy/compiler/compiler_pass.cc
Normal file
@@ -0,0 +1,29 @@
|
||||
/**
|
||||
******************************************************************************
|
||||
* 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. *
|
||||
******************************************************************************
|
||||
*/
|
||||
|
||||
#include <alloy/compiler/compiler_pass.h>
|
||||
|
||||
#include <alloy/compiler/compiler.h>
|
||||
|
||||
using namespace alloy;
|
||||
using namespace alloy::compiler;
|
||||
|
||||
|
||||
CompilerPass::CompilerPass() :
|
||||
runtime_(0), compiler_(0) {
|
||||
}
|
||||
|
||||
CompilerPass::~CompilerPass() {
|
||||
}
|
||||
|
||||
int CompilerPass::Initialize(Compiler* compiler) {
|
||||
runtime_ = compiler->runtime();
|
||||
compiler_ = compiler;
|
||||
return 0;
|
||||
}
|
||||
Reference in New Issue
Block a user