/** * Returns <code>true</code> if the target of the {@link DirectCallNode} was cloned by the * runtime system or by the guest language implementation. * * @return if the target was split * @since 0.8 or earlier */ public final boolean isCallTargetCloned() { return getClonedCallTarget() != null; }
/** * Returns <code>true</code> if the target of the {@link DirectCallNode} was cloned by the * runtime system or by the guest language implementation. * * @return if the target was split * @since 0.8 or earlier */ public final boolean isCallTargetCloned() { return getClonedCallTarget() != null; }
/** * Returns <code>true</code> if the target of the {@link DirectCallNode} was cloned by the * runtime system or by the guest language implementation. * * @return if the target was split */ public final boolean isCallTargetCloned() { return getClonedCallTarget() != null; }
/** * Returns the used call target when {@link #call(VirtualFrame, Object[])} is invoked. If the * {@link CallTarget} was split this method returns the {@link CallTarget} returned by * {@link #getClonedCallTarget()}. * * @return the used {@link CallTarget} when node is called */ public CallTarget getCurrentCallTarget() { CallTarget split = getClonedCallTarget(); if (split != null) { return split; } else { return getCallTarget(); } }
/** * Returns the used call target when {@link #call(java.lang.Object[])} is invoked. If the * {@link CallTarget} was split this method returns the {@link CallTarget} returned by * {@link #getClonedCallTarget()}. * * @return the used {@link CallTarget} when node is called * @since 0.8 or earlier */ public CallTarget getCurrentCallTarget() { CallTarget split = getClonedCallTarget(); if (split != null) { return split; } else { return getCallTarget(); } }
/** * Returns the used call target when {@link #call(java.lang.Object[])} is invoked. If the * {@link CallTarget} was split this method returns the {@link CallTarget} returned by * {@link #getClonedCallTarget()}. * * @return the used {@link CallTarget} when node is called * @since 0.8 or earlier */ public CallTarget getCurrentCallTarget() { CallTarget split = getClonedCallTarget(); if (split != null) { return split; } else { return getCallTarget(); } }