Improve positions of line breaks in ConstSourceInterpreter

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

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

Loading…
Cancel
Save