Java Code Examples for com.oracle.truffle.api.instrumentation.StandardTags#CallTag
The following examples show how to use
com.oracle.truffle.api.instrumentation.StandardTags#CallTag .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: HashemInvokeNode.java From mr-hashemi with Universal Permissive License v1.0 | 5 votes |
@Override public boolean hasTag(Class<? extends Tag> tag) { if (tag == StandardTags.CallTag.class) { return true; } return super.hasTag(tag); }
Example 2
Source File: SendBytecodes.java From trufflesqueak with MIT License | 5 votes |
@Override public final boolean hasTag(final Class<? extends Tag> tag) { if (tag == StandardTags.CallTag.class) { return true; } if (tag == DebuggerTags.AlwaysHalt.class) { return PrimExitToDebuggerNode.SELECTOR_NAME.equals(selector.asStringUnsafe()); } return super.hasTag(tag); }