|
|
@ -46,11 +46,7 @@ class OpaquePredicateTransformer : Transformer() { |
|
|
|
|
|
|
|
|
|
|
|
// remove initializer (except the opaque predicate at the start, |
|
|
|
// remove initializer (except the opaque predicate at the start, |
|
|
|
// which we treat like any other) |
|
|
|
// which we treat like any other) |
|
|
|
for ((i, insn) in match.withIndex()) { |
|
|
|
match.drop(2).forEach(method.instructions::remove) |
|
|
|
if (i >= 2) { |
|
|
|
|
|
|
|
method.instructions.remove(insn) |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// remove field |
|
|
|
// remove field |
|
|
|
val owner = library[putstatic.owner]!! |
|
|
|
val owner = library[putstatic.owner]!! |
|
|
|