Skip to content
Snippets Groups Projects
Commit 84752a64 authored by Christian Humer's avatar Christian Humer
Browse files

Add isNull message support for foreign objects.

parent 6ccfff7b
Branches
No related tags found
No related merge requests found
......@@ -40,7 +40,12 @@ public final class RAbstractVectorAccessFactory implements Factory10 {
}
public CallTarget accessIsNull() {
throw RInternalError.shouldNotReachHere("message: accessIsNull");
return Truffle.getRuntime().createCallTarget(new InteropRootNode() {
@Override
public Object execute(VirtualFrame frame) {
return false;
}
});
}
public CallTarget accessIsExecutable() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment