Initialize() public method

public Initialize ( MosaCompiler compiler ) : void
compiler MosaCompiler
return void
コード例 #1
0
ファイル: MosaCompiler.cs プロジェクト: mlintell/MOSA-Project
        public void Initialize()
        {
            Linker = new BaseLinker(CompilerOptions.BaseAddress, CompilerOptions.Architecture.Endianness, CompilerOptions.Architecture.MachineType, CompilerOptions.EmitSymbols, CompilerOptions.LinkerFormatType);

            BaseCompiler = CompilerFactory();

            BaseCompiler.Initialize(this);
        }
コード例 #2
0
        public void Initialize()
        {
            Linker = CompilerOptions.LinkerFactory();
            Linker.Initialize(CompilerOptions.BaseAddress, CompilerOptions.Architecture.Endianness, CompilerOptions.Architecture.ElfMachineType);

            BaseCompiler = CompilerFactory();

            BaseCompiler.Initialize(this);
        }