Update ASM

Signed-off-by: Graham <gpe@openrs2.dev>
pull/132/head
Graham 4 years ago
parent d57797fda2
commit 006b4ff5bc
  1. 2
      asm/src/main/java/dev/openrs2/asm/NopClassVisitor.kt
  2. 2
      asm/src/main/java/dev/openrs2/asm/classpath/JsrInliner.kt
  3. 2
      buildSrc/src/main/java/Versions.kt
  4. 2
      deob/src/main/java/dev/openrs2/deob/analysis/ConstSourceInterpreter.kt
  5. 2
      deob/src/main/java/dev/openrs2/deob/analysis/IntInterpreter.kt
  6. 2
      deob/src/main/java/dev/openrs2/deob/analysis/ThisInterpreter.kt

@ -3,4 +3,4 @@ package dev.openrs2.asm
import org.objectweb.asm.ClassVisitor
import org.objectweb.asm.Opcodes
public object NopClassVisitor : ClassVisitor(Opcodes.ASM8)
public object NopClassVisitor : ClassVisitor(Opcodes.ASM9)

@ -5,7 +5,7 @@ import org.objectweb.asm.MethodVisitor
import org.objectweb.asm.Opcodes
import org.objectweb.asm.commons.JSRInlinerAdapter
public class JsrInliner(cv: ClassVisitor) : ClassVisitor(Opcodes.ASM8, cv) {
public class JsrInliner(cv: ClassVisitor) : ClassVisitor(Opcodes.ASM9, cv) {
override fun visitMethod(
access: Int,
name: String,

@ -1,5 +1,5 @@
object Versions {
const val asm = "8.0.1"
const val asm = "9.0"
const val bouncyCastlePkix = "1.66"
const val bouncyCastleProvider = "1.66"
const val clikt = "3.0.1"

@ -7,7 +7,7 @@ import org.objectweb.asm.tree.AbstractInsnNode
import org.objectweb.asm.tree.analysis.BasicInterpreter
import org.objectweb.asm.tree.analysis.Interpreter
public class ConstSourceInterpreter : Interpreter<ConstSourceValue>(Opcodes.ASM8) {
public class ConstSourceInterpreter : Interpreter<ConstSourceValue>(Opcodes.ASM9) {
private val basicInterpreter = BasicInterpreter()
override fun newValue(type: Type?): ConstSourceValue? {

@ -8,7 +8,7 @@ import org.objectweb.asm.tree.IincInsnNode
import org.objectweb.asm.tree.analysis.BasicInterpreter
import org.objectweb.asm.tree.analysis.Interpreter
public class IntInterpreter(private val args: Array<IntValueSet>) : Interpreter<IntValue>(Opcodes.ASM8) {
public class IntInterpreter(private val args: Array<IntValueSet>) : Interpreter<IntValue>(Opcodes.ASM9) {
private val basicInterpreter = BasicInterpreter()
override fun newValue(type: Type?): IntValue? {

@ -6,7 +6,7 @@ import org.objectweb.asm.tree.AbstractInsnNode
import org.objectweb.asm.tree.analysis.BasicInterpreter
import org.objectweb.asm.tree.analysis.Interpreter
public class ThisInterpreter : Interpreter<ThisValue>(Opcodes.ASM8) {
public class ThisInterpreter : Interpreter<ThisValue>(Opcodes.ASM9) {
private val basicInterpreter = BasicInterpreter()
override fun newValue(type: Type?): ThisValue? {

Loading…
Cancel
Save