|
|
@ -43,12 +43,11 @@ class ExceptionTracingTransformer : Transformer() { |
|
|
|
private val logger = InlineLogger() |
|
|
|
private val logger = InlineLogger() |
|
|
|
private val CATCH_MATCHER = InsnMatcher.compile( |
|
|
|
private val CATCH_MATCHER = InsnMatcher.compile( |
|
|
|
""" |
|
|
|
""" |
|
|
|
ASTORE |
|
|
|
(ASTORE ALOAD)? |
|
|
|
ALOAD |
|
|
|
|
|
|
|
(| LDC INVOKESTATIC | |
|
|
|
(| LDC INVOKESTATIC | |
|
|
|
NEW DUP |
|
|
|
NEW DUP |
|
|
|
(LDC INVOKESPECIAL | INVOKESPECIAL LDC INVOKEVIRTUAL) |
|
|
|
(LDC INVOKESPECIAL | INVOKESPECIAL LDC INVOKEVIRTUAL) |
|
|
|
((ILOAD | LLOAD | FLOAD | DLOAD | (ALOAD IFNULL LDC GOTO LDC) | BIPUSH) INVOKEVIRTUAL)* |
|
|
|
((ILOAD | LLOAD | FLOAD | DLOAD | (ALOAD IFNULL LDC GOTO LDC) | BIPUSH | SIPUSH | LDC) INVOKEVIRTUAL)* |
|
|
|
INVOKEVIRTUAL INVOKESTATIC |
|
|
|
INVOKEVIRTUAL INVOKESTATIC |
|
|
|
) |
|
|
|
) |
|
|
|
ATHROW |
|
|
|
ATHROW |
|
|
|