Improve positions of line breaks in ConstSourceInterpreter

bzip2
Graham 5 years ago
parent 1864b6b630
commit dd88e3ca2c
  1. 3
      deob/src/main/java/dev/openrs2/deob/analysis/ConstSourceInterpreter.kt

@ -44,8 +44,7 @@ class ConstSourceInterpreter : Interpreter<ConstSourceValue>(Opcodes.ASM7) {
value1: ConstSourceValue, value1: ConstSourceValue,
value2: ConstSourceValue value2: ConstSourceValue
): ConstSourceValue? { ): ConstSourceValue? {
val basicValue = val basicValue = basicInterpreter.binaryOperation(insn, value1.basicValue, value2.basicValue)
basicInterpreter.binaryOperation(insn, value1.basicValue, value2.basicValue)
?: return null ?: return null
return ConstSourceValue.createUnknown(basicValue) return ConstSourceValue.createUnknown(basicValue)
} }

Loading…
Cancel
Save