Improve object arrays support. (#182)

Also fix the way how symbol names are being generated. Before arrays2.kt was not linking.
This commit is contained in:
Nikolay Igotti
2017-01-16 12:22:27 +03:00
committed by Konstantin Anisimov
parent 26ee99185c
commit ae49bd8432
2 changed files with 2 additions and 2 deletions
@@ -33,9 +33,9 @@ internal fun emitLLVM(context: Context) {
val irModule = context.irModule!!
// Note that we don't set module target explicitly.
// It is determined by the target of runtime.bc
// It is determined by the target of runtime.bc
// (see Llvm class in ContextUtils)
// Which in turn is determined by the clang flags
// Which in turn is determined by the clang flags
// used to compile runtime.bc.
val llvmModule = LLVMModuleCreateWithName("out")!! // TODO: dispose
context.llvmModule = llvmModule