Restore codegen.

This commit is contained in:
Nikolay Igotti
2016-10-11 18:44:27 +03:00
parent ecb5a67db7
commit 7ff6a52e4c
@@ -19,7 +19,7 @@ fun emitLLVM(module: IrModuleFragment, runtimeFile: String, outFile: String) {
val context = Context(module, runtime, llvmModule) // TODO: dispose
module.accept(RTTIGeneratorVisitor(context), null)
// module.accept(CodeGeneratorVisitor(context), null)
module.accept(CodeGeneratorVisitor(context), null)
LLVMWriteBitcodeToFile(llvmModule, outFile)
}