diff --git a/com.oracle.truffle.r.nodes/src/com/oracle/truffle/r/nodes/function/RCallNode.java b/com.oracle.truffle.r.nodes/src/com/oracle/truffle/r/nodes/function/RCallNode.java index c8ac9b569c14a8e5701b7fdb1dc64b69c7267abe..d676fd3d8a85df882e7ee53ff72583f593d94eaf 100644 --- a/com.oracle.truffle.r.nodes/src/com/oracle/truffle/r/nodes/function/RCallNode.java +++ b/com.oracle.truffle.r.nodes/src/com/oracle/truffle/r/nodes/function/RCallNode.java @@ -285,6 +285,7 @@ public abstract class RCallNode extends RCallBaseNode implements RSyntaxNode, RS Object dispatchObject = dispatchArgument.execute(frame); // Cannot dispatch on REmpty if (dispatchObject == REmpty.instance) { + CompilerDirectives.transferToInterpreter(); throw RError.error(this, RError.Message.ARGUMENT_EMPTY, 1); } FrameSlot slot = dispatchTempSlot.initialize(frame, dispatchObject);