Skip to content

Commit aef9986

Browse files
Add some javadoc to espresso's DummyLoweringProvider
1 parent bcc5643 commit aef9986

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

espresso-compiler-stub/src/com.oracle.truffle.espresso.graal/src/com/oracle/truffle/espresso/graal/DummyLoweringProvider.java

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,17 @@
3535
import jdk.vm.ci.code.TargetDescription;
3636
import jdk.vm.ci.meta.JavaKind;
3737

38+
/**
39+
* Lowering provider used as the "host" lowering provider when running the native image generator on
40+
* espresso.
41+
* <p>
42+
* It is used as part of {code
43+
* com.oracle.svm.hosted.substitute.AutomaticUnsafeTransformationSupport} while parsing methods and
44+
* canonicalizing graphs. This dummy version tries to provide as neutral answers as possible.
45+
* <p>
46+
* See also {@code com.oracle.graal.pointsto.util.GraalAccess} for how the native image generator
47+
* accesses the "host" providers.
48+
*/
3849
public final class DummyLoweringProvider implements LoweringProvider {
3950
private final TargetDescription target;
4051

0 commit comments

Comments
 (0)