graalvm / simplelanguage

A simple example language built using the Truffle API.
http://openjdk.java.net/projects/graal/
Universal Permissive License v1.0
608 stars 198 forks source link

Document why SLStatementNode is annotated with @ReportPolymorphism #93

Open fniephaus opened 4 years ago

fniephaus commented 4 years ago

It is not explained why SLStatementNode is annotated with @ReportPolymorphism. The node would benefit from an explanation and a reference to the splitting documentation.

https://github.com/graalvm/simplelanguage/blob/e3e82664dd4b2d91a8d80dc462fa72bf0399aa14/language/src/main/java/com/oracle/truffle/sl/nodes/SLStatementNode.java#L64