AsmUtils

dotty.tools.backend.jvm.AsmUtils
object AsmUtils

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type
AsmUtils.type

Members list

Value members

Concrete methods

def readClass(bytes: Array[Byte]): ClassNode1
def traceClass(cnode: ClassNode1): Unit
def traceClass(bytes: Array[Byte]): Unit
def traceMethod(mnode: MethodNode1): Unit

Concrete fields

inline val traceClassEnabled: false

Print the bytecode of classes generated by GenBCode to the standard output.

Print the bytecode of classes generated by GenBCode to the standard output.

Attributes

inline val traceClassPattern: ""

Print the bytecode of methods generated by GenBCode to the standard output. Only methods whose name contains traceMethodPattern are traced.

Print the bytecode of methods generated by GenBCode to the standard output. Only methods whose name contains traceMethodPattern are traced.

Attributes

inline val traceSerializedClassEnabled: false

Print the bytedcode of classes as they are serialized by the ASM library. The serialization performed by asm.ClassWriter can change the code generated by GenBCode. For example, it introduces stack map frames, it computes the maximal stack sizes, and it replaces dead code by NOPs (see also https://github.com/scala/scala/pull/3726#issuecomment-42861780).

Print the bytedcode of classes as they are serialized by the ASM library. The serialization performed by asm.ClassWriter can change the code generated by GenBCode. For example, it introduces stack map frames, it computes the maximal stack sizes, and it replaces dead code by NOPs (see also https://github.com/scala/scala/pull/3726#issuecomment-42861780).

Attributes