org.pkl.thirdparty.truffle.polyglot.PolyglotExecuteNodeGen Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pkl-tools Show documentation
Show all versions of pkl-tools Show documentation
Fat Jar containing pkl-cli, pkl-codegen-java, pkl-codegen-kotlin, pkl-config-java, pkl-core, pkl-doc, and their shaded third-party dependencies.
// CheckStyle: start generated
package org.pkl.thirdparty.truffle.polyglot;
import org.pkl.thirdparty.truffle.api.CompilerDirectives;
import org.pkl.thirdparty.truffle.api.CompilerDirectives.CompilationFinal;
import org.pkl.thirdparty.truffle.api.CompilerDirectives.TruffleBoundary;
import org.pkl.thirdparty.truffle.api.dsl.GeneratedBy;
import org.pkl.thirdparty.truffle.api.dsl.NeverDefault;
import org.pkl.thirdparty.truffle.api.dsl.InlineSupport.InlineTarget;
import org.pkl.thirdparty.truffle.api.dsl.InlineSupport.ReferenceField;
import org.pkl.thirdparty.truffle.api.dsl.InlineSupport.StateField;
import org.pkl.thirdparty.truffle.api.dsl.InlineSupport.UnsafeAccessedField;
import org.pkl.thirdparty.truffle.api.interop.InteropLibrary;
import org.pkl.thirdparty.truffle.api.library.LibraryFactory;
import org.pkl.thirdparty.truffle.api.nodes.DenyReplace;
import org.pkl.thirdparty.truffle.api.nodes.EncapsulatingNodeReference;
import org.pkl.thirdparty.truffle.api.nodes.ExplodeLoop;
import org.pkl.thirdparty.truffle.api.nodes.Node;
import org.pkl.thirdparty.truffle.api.nodes.NodeCost;
import org.pkl.thirdparty.truffle.api.profiles.InlinedBranchProfile;
import org.pkl.thirdparty.truffle.api.profiles.InlinedConditionProfile;
import org.pkl.thirdparty.truffle.polyglot.PolyglotLanguageContext.ToGuestValuesNode;
import org.pkl.thirdparty.truffle.polyglot.PolyglotLanguageContextFactory.ToGuestValuesNodeGen;
import java.lang.invoke.MethodHandles;
import java.lang.invoke.VarHandle;
import java.lang.invoke.MethodHandles.Lookup;
import java.lang.reflect.Type;
import java.util.Objects;
/**
* Debug Info:
* Specialization {@link PolyglotExecuteNode#doCached}
* Activation probability: 0.65000
* With/without class size: 32/23 bytes
* Specialization {@link PolyglotExecuteNode#doCached}
* Activation probability: 0.35000
* With/without class size: 16/19 bytes
*
*/
@GeneratedBy(PolyglotExecuteNode.class)
@SuppressWarnings({"javadoc", "unused"})
final class PolyglotExecuteNodeGen extends PolyglotExecuteNode {
private static final StateField CACHED0_CACHED0_STATE_0_UPDATER = StateField.create(Cached0Data.lookup_(), "cached0_state_0_");
private static final StateField CACHED1_CACHED1_STATE_0_UPDATER = StateField.create(Cached1Data.lookup_(), "cached1_state_0_");
static final ReferenceField CACHED0_CACHE_UPDATER = ReferenceField.create(MethodHandles.lookup(), "cached0_cache", Cached0Data.class);
/**
* Source Info:
* Specialization: {@link PolyglotExecuteNode#doCached}
* Parameter: {@link ToGuestValuesNode} toGuests
* Inline method: {@link ToGuestValuesNodeGen#inline}
*/
private static final ToGuestValuesNode INLINED_CACHED0_TO_GUESTS_ = ToGuestValuesNodeGen.inline(InlineTarget.create(ToGuestValuesNode.class, CACHED0_CACHED0_STATE_0_UPDATER.subUpdater(0, 7), ReferenceField.create(Cached0Data.lookup_(), "cached0_toGuests__field1_", Node.class), ReferenceField.create(Cached0Data.lookup_(), "cached0_toGuests__field2_", Object.class)));
/**
* Source Info:
* Specialization: {@link PolyglotExecuteNode#doCached}
* Parameter: {@link PolyglotToHostNode} toHost
* Inline method: {@link PolyglotToHostNodeGen#inline}
*/
private static final PolyglotToHostNode INLINED_CACHED0_TO_HOST_ = PolyglotToHostNodeGen.inline(InlineTarget.create(PolyglotToHostNode.class, CACHED0_CACHED0_STATE_0_UPDATER.subUpdater(7, 4), ReferenceField.create(Cached0Data.lookup_(), "cached0_toHost__field1_", Object.class), ReferenceField.create(Cached0Data.lookup_(), "cached0_toHost__field2_", Node.class)));
/**
* Source Info:
* Specialization: {@link PolyglotExecuteNode#doCached}
* Parameter: {@link InlinedConditionProfile} executableCondition
* Inline method: {@link InlinedConditionProfile#inline}
*/
private static final InlinedConditionProfile INLINED_CACHED0_EXECUTABLE_CONDITION_ = InlinedConditionProfile.inline(InlineTarget.create(InlinedConditionProfile.class, CACHED0_CACHED0_STATE_0_UPDATER.subUpdater(11, 2)));
/**
* Source Info:
* Specialization: {@link PolyglotExecuteNode#doCached}
* Parameter: {@link InlinedConditionProfile} instantiableCondition
* Inline method: {@link InlinedConditionProfile#inline}
*/
private static final InlinedConditionProfile INLINED_CACHED0_INSTANTIABLE_CONDITION_ = InlinedConditionProfile.inline(InlineTarget.create(InlinedConditionProfile.class, CACHED0_CACHED0_STATE_0_UPDATER.subUpdater(13, 2)));
/**
* Source Info:
* Specialization: {@link PolyglotExecuteNode#doCached}
* Parameter: {@link InlinedBranchProfile} unsupportedError
* Inline method: {@link InlinedBranchProfile#inline}
*/
private static final InlinedBranchProfile INLINED_CACHED0_UNSUPPORTED_ERROR_ = InlinedBranchProfile.inline(InlineTarget.create(InlinedBranchProfile.class, CACHED0_CACHED0_STATE_0_UPDATER.subUpdater(15, 1)));
/**
* Source Info:
* Specialization: {@link PolyglotExecuteNode#doCached}
* Parameter: {@link InlinedBranchProfile} arityError
* Inline method: {@link InlinedBranchProfile#inline}
*/
private static final InlinedBranchProfile INLINED_CACHED0_ARITY_ERROR_ = InlinedBranchProfile.inline(InlineTarget.create(InlinedBranchProfile.class, CACHED0_CACHED0_STATE_0_UPDATER.subUpdater(16, 1)));
/**
* Source Info:
* Specialization: {@link PolyglotExecuteNode#doCached}
* Parameter: {@link InlinedBranchProfile} unsupportedArgumentError
* Inline method: {@link InlinedBranchProfile#inline}
*/
private static final InlinedBranchProfile INLINED_CACHED0_UNSUPPORTED_ARGUMENT_ERROR_ = InlinedBranchProfile.inline(InlineTarget.create(InlinedBranchProfile.class, CACHED0_CACHED0_STATE_0_UPDATER.subUpdater(17, 1)));
/**
* Source Info:
* Specialization: {@link PolyglotExecuteNode#doCached}
* Parameter: {@link ToGuestValuesNode} toGuests
* Inline method: {@link ToGuestValuesNodeGen#inline}
*/
private static final ToGuestValuesNode INLINED_CACHED1_TO_GUESTS_ = ToGuestValuesNodeGen.inline(InlineTarget.create(ToGuestValuesNode.class, CACHED1_CACHED1_STATE_0_UPDATER.subUpdater(0, 7), ReferenceField.create(Cached1Data.lookup_(), "cached1_toGuests__field1_", Node.class), ReferenceField.create(Cached1Data.lookup_(), "cached1_toGuests__field2_", Object.class)));
/**
* Source Info:
* Specialization: {@link PolyglotExecuteNode#doCached}
* Parameter: {@link PolyglotToHostNode} toHost
* Inline method: {@link PolyglotToHostNodeGen#inline}
*/
private static final PolyglotToHostNode INLINED_CACHED1_TO_HOST_ = PolyglotToHostNodeGen.inline(InlineTarget.create(PolyglotToHostNode.class, CACHED1_CACHED1_STATE_0_UPDATER.subUpdater(7, 4), ReferenceField.create(Cached1Data.lookup_(), "cached1_toHost__field1_", Object.class), ReferenceField.create(Cached1Data.lookup_(), "cached1_toHost__field2_", Node.class)));
/**
* Source Info:
* Specialization: {@link PolyglotExecuteNode#doCached}
* Parameter: {@link InlinedConditionProfile} executableCondition
* Inline method: {@link InlinedConditionProfile#inline}
*/
private static final InlinedConditionProfile INLINED_CACHED1_EXECUTABLE_CONDITION_ = InlinedConditionProfile.inline(InlineTarget.create(InlinedConditionProfile.class, CACHED1_CACHED1_STATE_0_UPDATER.subUpdater(11, 2)));
/**
* Source Info:
* Specialization: {@link PolyglotExecuteNode#doCached}
* Parameter: {@link InlinedConditionProfile} instantiableCondition
* Inline method: {@link InlinedConditionProfile#inline}
*/
private static final InlinedConditionProfile INLINED_CACHED1_INSTANTIABLE_CONDITION_ = InlinedConditionProfile.inline(InlineTarget.create(InlinedConditionProfile.class, CACHED1_CACHED1_STATE_0_UPDATER.subUpdater(13, 2)));
/**
* Source Info:
* Specialization: {@link PolyglotExecuteNode#doCached}
* Parameter: {@link InlinedBranchProfile} unsupportedError
* Inline method: {@link InlinedBranchProfile#inline}
*/
private static final InlinedBranchProfile INLINED_CACHED1_UNSUPPORTED_ERROR_ = InlinedBranchProfile.inline(InlineTarget.create(InlinedBranchProfile.class, CACHED1_CACHED1_STATE_0_UPDATER.subUpdater(15, 1)));
/**
* Source Info:
* Specialization: {@link PolyglotExecuteNode#doCached}
* Parameter: {@link InlinedBranchProfile} arityError
* Inline method: {@link InlinedBranchProfile#inline}
*/
private static final InlinedBranchProfile INLINED_CACHED1_ARITY_ERROR_ = InlinedBranchProfile.inline(InlineTarget.create(InlinedBranchProfile.class, CACHED1_CACHED1_STATE_0_UPDATER.subUpdater(16, 1)));
/**
* Source Info:
* Specialization: {@link PolyglotExecuteNode#doCached}
* Parameter: {@link InlinedBranchProfile} unsupportedArgumentError
* Inline method: {@link InlinedBranchProfile#inline}
*/
private static final InlinedBranchProfile INLINED_CACHED1_UNSUPPORTED_ARGUMENT_ERROR_ = InlinedBranchProfile.inline(InlineTarget.create(InlinedBranchProfile.class, CACHED1_CACHED1_STATE_0_UPDATER.subUpdater(17, 1)));
private static final LibraryFactory INTEROP_LIBRARY_ = LibraryFactory.resolve(InteropLibrary.class);
/**
* State Info:
* 0: SpecializationActive {@link PolyglotExecuteNode#doCached}
* 1: SpecializationActive {@link PolyglotExecuteNode#doCached}
*
*/
@CompilationFinal private int state_0_;
@UnsafeAccessedField @Child private Cached0Data cached0_cache;
@Child private Cached1Data cached1_cache;
private PolyglotExecuteNodeGen() {
}
@ExplodeLoop
@Override
protected Object executeImpl(PolyglotLanguageContext arg0Value, Object arg1Value, Object[] arg2Value, Class> arg3Value, Type arg4Value) {
int state_0 = this.state_0_;
if (state_0 != 0 /* is SpecializationActive[PolyglotExecuteNode.doCached(PolyglotLanguageContext, Object, Object[], Class<>, Type, Node, InteropLibrary, ToGuestValuesNode, PolyglotToHostNode, InlinedConditionProfile, InlinedConditionProfile, InlinedBranchProfile, InlinedBranchProfile, InlinedBranchProfile)] || SpecializationActive[PolyglotExecuteNode.doCached(PolyglotLanguageContext, Object, Object[], Class<>, Type, Node, InteropLibrary, ToGuestValuesNode, PolyglotToHostNode, InlinedConditionProfile, InlinedConditionProfile, InlinedBranchProfile, InlinedBranchProfile, InlinedBranchProfile)] */) {
if ((state_0 & 0b1) != 0 /* is SpecializationActive[PolyglotExecuteNode.doCached(PolyglotLanguageContext, Object, Object[], Class<>, Type, Node, InteropLibrary, ToGuestValuesNode, PolyglotToHostNode, InlinedConditionProfile, InlinedConditionProfile, InlinedBranchProfile, InlinedBranchProfile, InlinedBranchProfile)] */) {
Cached0Data s0_ = this.cached0_cache;
while (s0_ != null) {
if ((s0_.interop_.accepts(arg1Value))) {
Node node__ = (s0_);
return PolyglotExecuteNode.doCached(arg0Value, arg1Value, arg2Value, arg3Value, arg4Value, node__, s0_.interop_, INLINED_CACHED0_TO_GUESTS_, INLINED_CACHED0_TO_HOST_, INLINED_CACHED0_EXECUTABLE_CONDITION_, INLINED_CACHED0_INSTANTIABLE_CONDITION_, INLINED_CACHED0_UNSUPPORTED_ERROR_, INLINED_CACHED0_ARITY_ERROR_, INLINED_CACHED0_UNSUPPORTED_ARGUMENT_ERROR_);
}
s0_ = s0_.next_;
}
}
if ((state_0 & 0b10) != 0 /* is SpecializationActive[PolyglotExecuteNode.doCached(PolyglotLanguageContext, Object, Object[], Class<>, Type, Node, InteropLibrary, ToGuestValuesNode, PolyglotToHostNode, InlinedConditionProfile, InlinedConditionProfile, InlinedBranchProfile, InlinedBranchProfile, InlinedBranchProfile)] */) {
Cached1Data s1_ = this.cached1_cache;
if (s1_ != null) {
return this.cached1Boundary(state_0, s1_, arg0Value, arg1Value, arg2Value, arg3Value, arg4Value);
}
}
}
CompilerDirectives.transferToInterpreterAndInvalidate();
return executeAndSpecialize(arg0Value, arg1Value, arg2Value, arg3Value, arg4Value);
}
@SuppressWarnings("static-method")
@TruffleBoundary
private Object cached1Boundary(int state_0, Cached1Data s1_, PolyglotLanguageContext arg0Value, Object arg1Value, Object[] arg2Value, Class> arg3Value, Type arg4Value) {
EncapsulatingNodeReference encapsulating_ = EncapsulatingNodeReference.getCurrent();
Node prev_ = encapsulating_.set(this);
try {
{
Node node__ = (s1_);
InteropLibrary interop__ = (INTEROP_LIBRARY_.getUncached(arg1Value));
return PolyglotExecuteNode.doCached(arg0Value, arg1Value, arg2Value, arg3Value, arg4Value, node__, interop__, INLINED_CACHED1_TO_GUESTS_, INLINED_CACHED1_TO_HOST_, INLINED_CACHED1_EXECUTABLE_CONDITION_, INLINED_CACHED1_INSTANTIABLE_CONDITION_, INLINED_CACHED1_UNSUPPORTED_ERROR_, INLINED_CACHED1_ARITY_ERROR_, INLINED_CACHED1_UNSUPPORTED_ARGUMENT_ERROR_);
}
} finally {
encapsulating_.set(prev_);
}
}
private Object executeAndSpecialize(PolyglotLanguageContext arg0Value, Object arg1Value, Object[] arg2Value, Class> arg3Value, Type arg4Value) {
int state_0 = this.state_0_;
{
Node node__ = null;
if (((state_0 & 0b10)) == 0 /* is-not SpecializationActive[PolyglotExecuteNode.doCached(PolyglotLanguageContext, Object, Object[], Class<>, Type, Node, InteropLibrary, ToGuestValuesNode, PolyglotToHostNode, InlinedConditionProfile, InlinedConditionProfile, InlinedBranchProfile, InlinedBranchProfile, InlinedBranchProfile)] */) {
while (true) {
int count0_ = 0;
Cached0Data s0_ = CACHED0_CACHE_UPDATER.getVolatile(this);
Cached0Data s0_original = s0_;
while (s0_ != null) {
if ((s0_.interop_.accepts(arg1Value))) {
node__ = (s0_);
break;
}
count0_++;
s0_ = s0_.next_;
}
if (s0_ == null) {
// assert (s0_.interop_.accepts(arg1Value));
if (count0_ < (5)) {
s0_ = this.insert(new Cached0Data(s0_original));
node__ = (s0_);
InteropLibrary interop__ = s0_.insert((INTEROP_LIBRARY_.create(arg1Value)));
Objects.requireNonNull(interop__, "Specialization 'doCached(PolyglotLanguageContext, Object, Object[], Class<>, Type, Node, InteropLibrary, ToGuestValuesNode, PolyglotToHostNode, InlinedConditionProfile, InlinedConditionProfile, InlinedBranchProfile, InlinedBranchProfile, InlinedBranchProfile)' cache 'interop' returned a 'null' default value. The cache initializer must never return a default value for this cache. Use @Cached(neverDefault=false) to allow default values for this cached value or make sure the cache initializer never returns 'null'.");
s0_.interop_ = interop__;
if (!CACHED0_CACHE_UPDATER.compareAndSet(this, s0_original, s0_)) {
continue;
}
state_0 = state_0 | 0b1 /* add SpecializationActive[PolyglotExecuteNode.doCached(PolyglotLanguageContext, Object, Object[], Class<>, Type, Node, InteropLibrary, ToGuestValuesNode, PolyglotToHostNode, InlinedConditionProfile, InlinedConditionProfile, InlinedBranchProfile, InlinedBranchProfile, InlinedBranchProfile)] */;
this.state_0_ = state_0;
}
}
if (s0_ != null) {
return PolyglotExecuteNode.doCached(arg0Value, arg1Value, arg2Value, arg3Value, arg4Value, node__, s0_.interop_, INLINED_CACHED0_TO_GUESTS_, INLINED_CACHED0_TO_HOST_, INLINED_CACHED0_EXECUTABLE_CONDITION_, INLINED_CACHED0_INSTANTIABLE_CONDITION_, INLINED_CACHED0_UNSUPPORTED_ERROR_, INLINED_CACHED0_ARITY_ERROR_, INLINED_CACHED0_UNSUPPORTED_ARGUMENT_ERROR_);
}
break;
}
}
}
{
InteropLibrary interop__ = null;
Node node__ = null;
{
EncapsulatingNodeReference encapsulating_ = EncapsulatingNodeReference.getCurrent();
Node prev_ = encapsulating_.set(this);
try {
Cached1Data s1_ = this.insert(new Cached1Data());
node__ = (s1_);
interop__ = (INTEROP_LIBRARY_.getUncached(arg1Value));
VarHandle.storeStoreFence();
this.cached1_cache = s1_;
this.cached0_cache = null;
state_0 = state_0 & 0xfffffffe /* remove SpecializationActive[PolyglotExecuteNode.doCached(PolyglotLanguageContext, Object, Object[], Class<>, Type, Node, InteropLibrary, ToGuestValuesNode, PolyglotToHostNode, InlinedConditionProfile, InlinedConditionProfile, InlinedBranchProfile, InlinedBranchProfile, InlinedBranchProfile)] */;
state_0 = state_0 | 0b10 /* add SpecializationActive[PolyglotExecuteNode.doCached(PolyglotLanguageContext, Object, Object[], Class<>, Type, Node, InteropLibrary, ToGuestValuesNode, PolyglotToHostNode, InlinedConditionProfile, InlinedConditionProfile, InlinedBranchProfile, InlinedBranchProfile, InlinedBranchProfile)] */;
this.state_0_ = state_0;
return PolyglotExecuteNode.doCached(arg0Value, arg1Value, arg2Value, arg3Value, arg4Value, node__, interop__, INLINED_CACHED1_TO_GUESTS_, INLINED_CACHED1_TO_HOST_, INLINED_CACHED1_EXECUTABLE_CONDITION_, INLINED_CACHED1_INSTANTIABLE_CONDITION_, INLINED_CACHED1_UNSUPPORTED_ERROR_, INLINED_CACHED1_ARITY_ERROR_, INLINED_CACHED1_UNSUPPORTED_ARGUMENT_ERROR_);
} finally {
encapsulating_.set(prev_);
}
}
}
}
@Override
public NodeCost getCost() {
int state_0 = this.state_0_;
if (state_0 == 0) {
return NodeCost.UNINITIALIZED;
} else {
if ((state_0 & (state_0 - 1)) == 0 /* is-single */) {
Cached0Data s0_ = this.cached0_cache;
if ((s0_ == null || s0_.next_ == null)) {
return NodeCost.MONOMORPHIC;
}
}
}
return NodeCost.POLYMORPHIC;
}
@NeverDefault
public static PolyglotExecuteNode create() {
return new PolyglotExecuteNodeGen();
}
@GeneratedBy(PolyglotExecuteNode.class)
@DenyReplace
private static final class Cached0Data extends Node {
@Child Cached0Data next_;
/**
* State Info:
* 0-6: InlinedCache
* Specialization: {@link PolyglotExecuteNode#doCached}
* Parameter: {@link ToGuestValuesNode} toGuests
* Inline method: {@link ToGuestValuesNodeGen#inline}
* 7-10: InlinedCache
* Specialization: {@link PolyglotExecuteNode#doCached}
* Parameter: {@link PolyglotToHostNode} toHost
* Inline method: {@link PolyglotToHostNodeGen#inline}
* 11-12: InlinedCache
* Specialization: {@link PolyglotExecuteNode#doCached}
* Parameter: {@link InlinedConditionProfile} executableCondition
* Inline method: {@link InlinedConditionProfile#inline}
* 13-14: InlinedCache
* Specialization: {@link PolyglotExecuteNode#doCached}
* Parameter: {@link InlinedConditionProfile} instantiableCondition
* Inline method: {@link InlinedConditionProfile#inline}
* 15: InlinedCache
* Specialization: {@link PolyglotExecuteNode#doCached}
* Parameter: {@link InlinedBranchProfile} unsupportedError
* Inline method: {@link InlinedBranchProfile#inline}
* 16: InlinedCache
* Specialization: {@link PolyglotExecuteNode#doCached}
* Parameter: {@link InlinedBranchProfile} arityError
* Inline method: {@link InlinedBranchProfile#inline}
* 17: InlinedCache
* Specialization: {@link PolyglotExecuteNode#doCached}
* Parameter: {@link InlinedBranchProfile} unsupportedArgumentError
* Inline method: {@link InlinedBranchProfile#inline}
*
*/
@CompilationFinal @UnsafeAccessedField private int cached0_state_0_;
/**
* Source Info:
* Specialization: {@link PolyglotExecuteNode#doCached}
* Parameter: {@link InteropLibrary} interop
*/
@Child InteropLibrary interop_;
/**
* Source Info:
* Specialization: {@link PolyglotExecuteNode#doCached}
* Parameter: {@link ToGuestValuesNode} toGuests
* Inline method: {@link ToGuestValuesNodeGen#inline}
* Inline field: {@link Node} field1
*/
@Child @UnsafeAccessedField @SuppressWarnings("unused") private Node cached0_toGuests__field1_;
/**
* Source Info:
* Specialization: {@link PolyglotExecuteNode#doCached}
* Parameter: {@link ToGuestValuesNode} toGuests
* Inline method: {@link ToGuestValuesNodeGen#inline}
* Inline field: {@link Object} field2
*/
@CompilationFinal @UnsafeAccessedField @SuppressWarnings("unused") private Object cached0_toGuests__field2_;
/**
* Source Info:
* Specialization: {@link PolyglotExecuteNode#doCached}
* Parameter: {@link PolyglotToHostNode} toHost
* Inline method: {@link PolyglotToHostNodeGen#inline}
* Inline field: {@link Object} field1
*/
@CompilationFinal @UnsafeAccessedField @SuppressWarnings("unused") private Object cached0_toHost__field1_;
/**
* Source Info:
* Specialization: {@link PolyglotExecuteNode#doCached}
* Parameter: {@link PolyglotToHostNode} toHost
* Inline method: {@link PolyglotToHostNodeGen#inline}
* Inline field: {@link Node} field2
*/
@Child @UnsafeAccessedField @SuppressWarnings("unused") private Node cached0_toHost__field2_;
Cached0Data(Cached0Data next_) {
this.next_ = next_;
}
@Override
public NodeCost getCost() {
return NodeCost.NONE;
}
private static Lookup lookup_() {
return MethodHandles.lookup();
}
}
@GeneratedBy(PolyglotExecuteNode.class)
@DenyReplace
private static final class Cached1Data extends Node {
/**
* State Info:
* 0-6: InlinedCache
* Specialization: {@link PolyglotExecuteNode#doCached}
* Parameter: {@link ToGuestValuesNode} toGuests
* Inline method: {@link ToGuestValuesNodeGen#inline}
* 7-10: InlinedCache
* Specialization: {@link PolyglotExecuteNode#doCached}
* Parameter: {@link PolyglotToHostNode} toHost
* Inline method: {@link PolyglotToHostNodeGen#inline}
* 11-12: InlinedCache
* Specialization: {@link PolyglotExecuteNode#doCached}
* Parameter: {@link InlinedConditionProfile} executableCondition
* Inline method: {@link InlinedConditionProfile#inline}
* 13-14: InlinedCache
* Specialization: {@link PolyglotExecuteNode#doCached}
* Parameter: {@link InlinedConditionProfile} instantiableCondition
* Inline method: {@link InlinedConditionProfile#inline}
* 15: InlinedCache
* Specialization: {@link PolyglotExecuteNode#doCached}
* Parameter: {@link InlinedBranchProfile} unsupportedError
* Inline method: {@link InlinedBranchProfile#inline}
* 16: InlinedCache
* Specialization: {@link PolyglotExecuteNode#doCached}
* Parameter: {@link InlinedBranchProfile} arityError
* Inline method: {@link InlinedBranchProfile#inline}
* 17: InlinedCache
* Specialization: {@link PolyglotExecuteNode#doCached}
* Parameter: {@link InlinedBranchProfile} unsupportedArgumentError
* Inline method: {@link InlinedBranchProfile#inline}
*
*/
@CompilationFinal @UnsafeAccessedField private int cached1_state_0_;
/**
* Source Info:
* Specialization: {@link PolyglotExecuteNode#doCached}
* Parameter: {@link ToGuestValuesNode} toGuests
* Inline method: {@link ToGuestValuesNodeGen#inline}
* Inline field: {@link Node} field1
*/
@Child @UnsafeAccessedField @SuppressWarnings("unused") private Node cached1_toGuests__field1_;
/**
* Source Info:
* Specialization: {@link PolyglotExecuteNode#doCached}
* Parameter: {@link ToGuestValuesNode} toGuests
* Inline method: {@link ToGuestValuesNodeGen#inline}
* Inline field: {@link Object} field2
*/
@CompilationFinal @UnsafeAccessedField @SuppressWarnings("unused") private Object cached1_toGuests__field2_;
/**
* Source Info:
* Specialization: {@link PolyglotExecuteNode#doCached}
* Parameter: {@link PolyglotToHostNode} toHost
* Inline method: {@link PolyglotToHostNodeGen#inline}
* Inline field: {@link Object} field1
*/
@CompilationFinal @UnsafeAccessedField @SuppressWarnings("unused") private Object cached1_toHost__field1_;
/**
* Source Info:
* Specialization: {@link PolyglotExecuteNode#doCached}
* Parameter: {@link PolyglotToHostNode} toHost
* Inline method: {@link PolyglotToHostNodeGen#inline}
* Inline field: {@link Node} field2
*/
@Child @UnsafeAccessedField @SuppressWarnings("unused") private Node cached1_toHost__field2_;
Cached1Data() {
}
@Override
public NodeCost getCost() {
return NodeCost.NONE;
}
private static Lookup lookup_() {
return MethodHandles.lookup();
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy