Skip to content

Instantly share code, notes, and snippets.

@dmgcodevil
Created February 26, 2021 20:50
Show Gist options
  • Select an option

  • Save dmgcodevil/e4a9d966a8db2043df1e504ba14325ae to your computer and use it in GitHub Desktop.

Select an option

Save dmgcodevil/e4a9d966a8db2043df1e504ba14325ae to your computer and use it in GitHub Desktop.
private static final synthetic getA$lzycompute$1(scala.runtime.LazyInt arg0) { //(Lscala/runtime/LazyInt;)I
<localVar:index=0 , name=getA$lzy$1 , desc=Lscala/runtime/LazyInt;, sig=null, start=L1, end=L2>
TryCatch: L3 to L4 handled by L5: Type is null.
L1 {
aload0
dup
astore1
monitorenter
}
L3 {
aload0
invokevirtual scala/runtime/LazyInt.initialized()Z
ifeq L6
aload0
invokevirtual scala/runtime/LazyInt.value()I
goto L7
}
L6 {
f_new (Locals[2]: scala/runtime/LazyInt, scala/runtime/LazyInt) (Stack[0]: null)
aload0
}
L8 {
getstatic scala/Predef$.MODULE$:scala.Predef$
ldc "getA" (java.lang.String)
invokevirtual scala/Predef$.println(Ljava/lang/Object;)V
}
L9 {
iconst_1
invokevirtual scala/runtime/LazyInt.initialize(I)I
}
L7 {
f_new (Locals[2]: scala/runtime/LazyInt, scala/runtime/LazyInt) (Stack[1]: 1)
istore2
}
L4 {
aload1
monitorexit
iload2
goto L10
}
L5 {
f_new (Locals[2]: scala/runtime/LazyInt, scala/runtime/LazyInt) (Stack[1]: java/lang/Throwable)
aload1
monitorexit
athrow
}
L10 {
f_new (Locals[3]: scala/runtime/LazyInt, scala/runtime/LazyInt, 1) (Stack[1]: 1)
ireturn
}
L2 {
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment