2
0
Эх сурвалжийг харах

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

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

Jonas Maebe 11 жил өмнө
parent
commit
044e133067
1 өөрчлөгдсөн 4 нэмэгдсэн , 0 устгасан
  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,