Explorar o código

* override hlcgcpu.create_codegen with hlcgllvm.create_codegen when building
an llvm-targeting compiler

git-svn-id: branches/hlcgllvm@26056 -

Jonas Maebe %!s(int64=12) %!d(string=hai) anos
pai
achega
044e133067
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  1. 4 0
      compiler/psub.pas

+ 4 - 0
compiler/psub.pas

@@ -112,6 +112,10 @@ implementation
        pbase,pstatmnt,pdecl,pdecsub,pexports,pgenutil,pparautl,
        { codegen }
        tgobj,cgbase,cgobj,hlcgobj,hlcgcpu,dbgbase,
+{$ifdef llvm}
+       { override create_hlcodegen from hlcgcpu }
+       hlcgllvm,
+{$endif}
        ncgutil,regvars,
        optbase,
        opttail,