Improve positions of line breaks in ConstSourceInterpreter

master
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,
value2: ConstSourceValue
): ConstSourceValue? {
val basicValue =
basicInterpreter.binaryOperation(insn, value1.basicValue, value2.basicValue)
val basicValue = basicInterpreter.binaryOperation(insn, value1.basicValue, value2.basicValue)
?: return null
return ConstSourceValue.createUnknown(basicValue)
}

Loading…
Cancel
Save