Linker requires dummy forwarders to implement Java APIs #375
The last three methods should not have been necessary.
The text was updated successfully, but these errors were encountered:
densh added a commit that referenced this issue
Aug 28, 2018
This PR is a follow-up to #1313 that completely eliminates override and pin attributes from NIR. Those were used previously to perform name-based reachability analysis (aka linking step of the nativeLink). Instead, we do a Scala.js-like reachability and semantic analysis in the same pass. This improves precision of the reachability as it now knows about NIR semantics, not just loads all reachable names from the entry point. Smaller reachable set improves compilation time (less code to transform) and the resulting binary size (less code to emit). Resolves #375 and probably a few more issues related to null-dereferencing segfaults and linking errors when calling across JDK boundary.