Java: Make Virtual Dispatch Global, but keep SSA local.

Use forceLocal to achive this.
This commit is contained in:
Alex Eyers-Taylor
2025-07-09 14:07:01 +01:00
parent 4227dd7d73
commit 5c19aad012
6 changed files with 36 additions and 8 deletions

View File

@@ -5,7 +5,7 @@
* data flow check for lambdas, anonymous classes, and other sufficiently
* private classes where all object instantiations are accounted for.
*/
overlay[local?]
overlay[global]
module;
import java

View File

@@ -6,7 +6,7 @@
* The set of dispatch targets for `Object.toString()` calls are reduced based
* on possible data flow from objects of more specific types to the qualifier.
*/
overlay[local?]
overlay[global]
module;
import java

View File

@@ -2,7 +2,7 @@
* Provides predicates for reasoning about runtime call targets through virtual
* dispatch.
*/
overlay[local?]
overlay[global]
module;
import java

View File

@@ -1,7 +1,7 @@
/**
* Provides a module to check whether two `ParameterizedType`s are unifiable.
*/
overlay[local?]
overlay[global]
module;
import java