use of com.oracle.truffle.sl.nodes.SLUndefinedFunctionRootNode in project graal by oracle.
the class SLLanguage method getOrCreateUndefinedFunction.
public RootCallTarget getOrCreateUndefinedFunction(TruffleString name) {
RootCallTarget target = undefinedFunctions.get(name);
if (target == null) {
target = new SLUndefinedFunctionRootNode(this, name).getCallTarget();
RootCallTarget other = undefinedFunctions.putIfAbsent(name, target);
if (other != null) {
target = other;
}
}
return target;
}
Aggregations