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

SLInvokeNode uses createDispatched() manually #97

Open c4f7fcce9cb06515 opened 4 years ago

c4f7fcce9cb06515 commented 4 years ago

Hi, contrary to the documentation of LibraryFactory.createDispatched(), the implementation of SLInvokeNode makes a manual call to that method. Is there a cleaner, more "official" way to create an inline cache?

Greetings