Make AbstractInsnNode::remap public

It will be used by Library::remap in the future.

Signed-off-by: Graham <gpe@openrs2.dev>
bzip2
Graham 5 years ago
parent 325ce27a31
commit cbb7e8c086
  1. 2
      asm/src/main/java/dev/openrs2/asm/ClassNodeRemapper.kt

@ -55,7 +55,7 @@ fun MethodNode.remap(remapper: ExtendedRemapper, owner: String) {
} }
} }
private fun AbstractInsnNode.remap(remapper: ExtendedRemapper) { fun AbstractInsnNode.remap(remapper: ExtendedRemapper) {
when (this) { when (this) {
is FrameNode -> throw UnsupportedOperationException("SKIP_FRAMES and COMPUTE_FRAMES must be used") is FrameNode -> throw UnsupportedOperationException("SKIP_FRAMES and COMPUTE_FRAMES must be used")
is FieldInsnNode -> { is FieldInsnNode -> {

Loading…
Cancel
Save