Skip to content

Instantly share code, notes, and snippets.

@retronym
Last active February 16, 2021 09:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save retronym/2e285db92cc4f967d68c70b532010c80 to your computer and use it in GitHub Desktop.
Save retronym/2e285db92cc4f967d68c70b532010c80 to your computer and use it in GitHub Desktop.
after boxUnbox
// access flags 0x1000001
public crash()V
L0
LINENUMBER 5 L0
L1
LINENUMBER 6 L1
ICONST_0
ISTORE 2
L2
ILOAD 2
ISTORE 4
GOTO L3
L4
L3
ACONST_NULL
ASTORE 3
L5
LINENUMBER 12 L5
POP
L6
LINENUMBER 9 L6
L7
ICONST_1
ISTORE 4
GOTO L8
L9
L8
LINENUMBER 12 L8
L10
RETURN
L11
LOCALVARIABLE box Lscala/runtime/IntRef; L5 L10 1
LOCALVARIABLE this Lp1/Test; L1 L11 0
LOCALVARIABLE create_e I L2 L4 2
MAXSTACK = 3
MAXLOCALS = 5
/tmp/test.scala:3: error: Error while emitting p1/Test
scala.tools.asm.tree.analysis.AnalyzerException: While processing p1/Test.crash
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment