1
0
mirror of https://github.com/fluencelabs/asmble synced 2025-03-16 11:10:52 +00:00

Update Kotlin and ASM

This commit is contained in:
Chad Retz 2018-09-12 16:01:46 -05:00
parent 326a0cdaba
commit 6352efaa96
2 changed files with 3 additions and 4 deletions
build.gradle
compiler/src/main/kotlin/asmble/compile/jvm

@ -2,8 +2,8 @@ group 'asmble'
version '0.2.0'
buildscript {
ext.kotlin_version = '1.2.51'
ext.asm_version = '5.2'
ext.kotlin_version = '1.2.61'
ext.asm_version = '6.2.1'
repositories {
mavenCentral()
@ -55,7 +55,6 @@ project(':compiler') {
compile "org.ow2.asm:asm-util:$asm_version"
testCompile 'junit:junit:4.12'
testCompile "org.jetbrains.kotlin:kotlin-test-junit:$kotlin_version"
testCompile "org.ow2.asm:asm-debug-all:$asm_version"
}
publishSettings(project, 'asmble-compiler', 'Asmble WASM Compiler', false)

@ -201,7 +201,7 @@ open class Linker {
"instance" + mod.name.javaIdent.capitalize(), mod.ref.asmDesc),
InsnNode(Opcodes.ARETURN)
)
ctx.cls.methods.plusAssign(func)
ctx.cls.methods.plusAssign(func.toMethodNode())
}
class ModuleClass(val cls: Class<*>, overrideName: String? = null) {