Class ClassInitializerRegister
java.lang.Object
org.qbicc.plugin.instanceofcheckcast.ClassInitializerRegister
- All Implemented Interfaces:
Consumer<CompilationContext>
Register all reachable class's class initalizer methods as entrypoints
so they survive to be lowered into functions.
This is required as we lose info after ReachabilityBlockBuilder required
to otherwise keep them alive.
Eventually, this will need to skip an class initializer that was run as
part of the build process.
-
Constructor Details
-
ClassInitializerRegister
public ClassInitializerRegister()
-
-
Method Details
-
accept
- Specified by:
acceptin interfaceConsumer<CompilationContext>
-