com.oracle.truffle.js.nodes.access.EnumerableOwnPropertyNamesNodeGen Maven / Gradle / Ivy
// CheckStyle: start generated
package com.oracle.truffle.js.nodes.access;
import com.oracle.truffle.api.CompilerDirectives;
import com.oracle.truffle.api.CompilerDirectives.CompilationFinal;
import com.oracle.truffle.api.CompilerDirectives.TruffleBoundary;
import com.oracle.truffle.api.dsl.GeneratedBy;
import com.oracle.truffle.api.dsl.NeverDefault;
import com.oracle.truffle.api.dsl.UnsupportedSpecializationException;
import com.oracle.truffle.api.dsl.DSLSupport.SpecializationDataNode;
import com.oracle.truffle.api.dsl.InlineSupport.InlineTarget;
import com.oracle.truffle.api.dsl.InlineSupport.ReferenceField;
import com.oracle.truffle.api.dsl.InlineSupport.StateField;
import com.oracle.truffle.api.dsl.InlineSupport.UnsafeAccessedField;
import com.oracle.truffle.api.interop.InteropLibrary;
import com.oracle.truffle.api.library.LibraryFactory;
import com.oracle.truffle.api.nodes.DenyReplace;
import com.oracle.truffle.api.nodes.EncapsulatingNodeReference;
import com.oracle.truffle.api.nodes.ExplodeLoop;
import com.oracle.truffle.api.nodes.Node;
import com.oracle.truffle.api.profiles.InlinedBranchProfile;
import com.oracle.truffle.api.strings.TruffleString.SwitchEncodingNode;
import com.oracle.truffle.api.strings.TruffleString.ToJavaStringNode;
import com.oracle.truffle.js.builtins.helper.ListGetNode;
import com.oracle.truffle.js.builtins.helper.ListGetNodeGen;
import com.oracle.truffle.js.builtins.helper.ListSizeNode;
import com.oracle.truffle.js.builtins.helper.ListSizeNodeGen;
import com.oracle.truffle.js.nodes.JSGuards;
import com.oracle.truffle.js.nodes.interop.ImportValueNode;
import com.oracle.truffle.js.runtime.JSConfig;
import com.oracle.truffle.js.runtime.JSContext;
import com.oracle.truffle.js.runtime.objects.JSDynamicObject;
import com.oracle.truffle.js.runtime.util.JSClassProfile;
import com.oracle.truffle.js.runtime.util.UnmodifiableArrayList;
import java.lang.invoke.MethodHandles;
import java.lang.invoke.VarHandle;
import java.lang.invoke.MethodHandles.Lookup;
import java.util.Objects;
/**
* Debug Info:
* Specialization {@link EnumerableOwnPropertyNamesNode#enumerableOwnPropertyNames}
* Activation probability: 0.48333
* With/without class size: 21/17 bytes
* Specialization {@link EnumerableOwnPropertyNamesNode#enumerableOwnPropertyNamesForeign}
* Activation probability: 0.33333
* With/without class size: 20/25 bytes
* Specialization {@link EnumerableOwnPropertyNamesNode#enumerableOwnPropertyNamesForeign}
* Activation probability: 0.18333
* With/without class size: 11/21 bytes
*
*/
@GeneratedBy(EnumerableOwnPropertyNamesNode.class)
@SuppressWarnings({"javadoc", "unused"})
public final class EnumerableOwnPropertyNamesNodeGen extends EnumerableOwnPropertyNamesNode {
private static final StateField STATE_0_EnumerableOwnPropertyNamesNode_UPDATER = StateField.create(MethodHandles.lookup(), "state_0_");
private static final StateField ENUMERABLE_OWN_PROPERTY_NAMES_FOREIGN0__ENUMERABLE_OWN_PROPERTY_NAMES_NODE_ENUMERABLE_OWN_PROPERTY_NAMES_FOREIGN0_STATE_0_UPDATER = StateField.create(EnumerableOwnPropertyNamesForeign0Data.lookup_(), "enumerableOwnPropertyNamesForeign0_state_0_");
private static final StateField ENUMERABLE_OWN_PROPERTY_NAMES_FOREIGN1__ENUMERABLE_OWN_PROPERTY_NAMES_NODE_ENUMERABLE_OWN_PROPERTY_NAMES_FOREIGN1_STATE_0_UPDATER = StateField.create(EnumerableOwnPropertyNamesForeign1Data.lookup_(), "enumerableOwnPropertyNamesForeign1_state_0_");
static final ReferenceField ENUMERABLE_OWN_PROPERTY_NAMES_FOREIGN0_CACHE_UPDATER = ReferenceField.create(MethodHandles.lookup(), "enumerableOwnPropertyNamesForeign0_cache", EnumerableOwnPropertyNamesForeign0Data.class);
/**
* Source Info:
* Specialization: {@link EnumerableOwnPropertyNamesNode#enumerableOwnPropertyNames}
* Parameter: {@link InlinedBranchProfile} growProfile
* Inline method: {@link InlinedBranchProfile#inline}
*/
private static final InlinedBranchProfile INLINED_ENUMERABLE_OWN_PROPERTY_NAMES_GROW_PROFILE_ = InlinedBranchProfile.inline(InlineTarget.create(InlinedBranchProfile.class, STATE_0_EnumerableOwnPropertyNamesNode_UPDATER.subUpdater(3, 1)));
/**
* Source Info:
* Specialization: {@link EnumerableOwnPropertyNamesNode#enumerableOwnPropertyNamesForeign}
* Parameter: {@link InlinedBranchProfile} errorBranch
* Inline method: {@link InlinedBranchProfile#inline}
*/
private static final InlinedBranchProfile INLINED_ENUMERABLE_OWN_PROPERTY_NAMES_FOREIGN0_ERROR_BRANCH_ = InlinedBranchProfile.inline(InlineTarget.create(InlinedBranchProfile.class, ENUMERABLE_OWN_PROPERTY_NAMES_FOREIGN0__ENUMERABLE_OWN_PROPERTY_NAMES_NODE_ENUMERABLE_OWN_PROPERTY_NAMES_FOREIGN0_STATE_0_UPDATER.subUpdater(0, 1)));
/**
* Source Info:
* Specialization: {@link EnumerableOwnPropertyNamesNode#enumerableOwnPropertyNamesForeign}
* Parameter: {@link InlinedBranchProfile} errorBranch
* Inline method: {@link InlinedBranchProfile#inline}
*/
private static final InlinedBranchProfile INLINED_ENUMERABLE_OWN_PROPERTY_NAMES_FOREIGN1_ERROR_BRANCH_ = InlinedBranchProfile.inline(InlineTarget.create(InlinedBranchProfile.class, ENUMERABLE_OWN_PROPERTY_NAMES_FOREIGN1__ENUMERABLE_OWN_PROPERTY_NAMES_NODE_ENUMERABLE_OWN_PROPERTY_NAMES_FOREIGN1_STATE_0_UPDATER.subUpdater(0, 1)));
private static final LibraryFactory INTEROP_LIBRARY_ = LibraryFactory.resolve(InteropLibrary.class);
/**
* State Info:
* 0: SpecializationActive {@link EnumerableOwnPropertyNamesNode#enumerableOwnPropertyNames}
* 1: SpecializationActive {@link EnumerableOwnPropertyNamesNode#enumerableOwnPropertyNamesForeign}
* 2: SpecializationActive {@link EnumerableOwnPropertyNamesNode#enumerableOwnPropertyNamesForeign}
* 3: InlinedCache
* Specialization: {@link EnumerableOwnPropertyNamesNode#enumerableOwnPropertyNames}
* Parameter: {@link InlinedBranchProfile} growProfile
* Inline method: {@link InlinedBranchProfile#inline}
*
*/
@CompilationFinal @UnsafeAccessedField private int state_0_;
/**
* Source Info:
* Specialization: {@link EnumerableOwnPropertyNamesNode#enumerableOwnPropertyNames}
* Parameter: {@link JSClassProfile} jsclassProfile
*/
@CompilationFinal private JSClassProfile enumerableOwnPropertyNames_jsclassProfile_;
/**
* Source Info:
* Specialization: {@link EnumerableOwnPropertyNamesNode#enumerableOwnPropertyNames}
* Parameter: {@link ListSizeNode} listSize
*/
@Child private ListSizeNode enumerableOwnPropertyNames_listSize_;
/**
* Source Info:
* Specialization: {@link EnumerableOwnPropertyNamesNode#enumerableOwnPropertyNames}
* Parameter: {@link ListGetNode} listGet
*/
@Child private ListGetNode enumerableOwnPropertyNames_listGet_;
/**
* Source Info:
* Specialization: {@link EnumerableOwnPropertyNamesNode#enumerableOwnPropertyNames}
* Parameter: {@link HasOnlyShapePropertiesNode} hasOnlyShapeProperties
*/
@Child private HasOnlyShapePropertiesNode enumerableOwnPropertyNames_hasOnlyShapeProperties_;
@UnsafeAccessedField @Child private EnumerableOwnPropertyNamesForeign0Data enumerableOwnPropertyNamesForeign0_cache;
@Child private EnumerableOwnPropertyNamesForeign1Data enumerableOwnPropertyNamesForeign1_cache;
private EnumerableOwnPropertyNamesNodeGen(JSContext context, boolean keys, boolean values) {
super(context, keys, values);
}
@ExplodeLoop
@Override
public UnmodifiableArrayList extends Object> execute(Object arg0Value) {
int state_0 = this.state_0_;
if ((state_0 & 0b111) != 0 /* is SpecializationActive[EnumerableOwnPropertyNamesNode.enumerableOwnPropertyNames(JSDynamicObject, JSClassProfile, ListSizeNode, ListGetNode, HasOnlyShapePropertiesNode, InlinedBranchProfile)] || SpecializationActive[EnumerableOwnPropertyNamesNode.enumerableOwnPropertyNamesForeign(Object, Node, InteropLibrary, InteropLibrary, InteropLibrary, ImportValueNode, InlinedBranchProfile, SwitchEncodingNode, ToJavaStringNode)] || SpecializationActive[EnumerableOwnPropertyNamesNode.enumerableOwnPropertyNamesForeign(Object, Node, InteropLibrary, InteropLibrary, InteropLibrary, ImportValueNode, InlinedBranchProfile, SwitchEncodingNode, ToJavaStringNode)] */) {
if ((state_0 & 0b1) != 0 /* is SpecializationActive[EnumerableOwnPropertyNamesNode.enumerableOwnPropertyNames(JSDynamicObject, JSClassProfile, ListSizeNode, ListGetNode, HasOnlyShapePropertiesNode, InlinedBranchProfile)] */ && arg0Value instanceof JSDynamicObject) {
JSDynamicObject arg0Value_ = (JSDynamicObject) arg0Value;
{
JSClassProfile jsclassProfile__ = this.enumerableOwnPropertyNames_jsclassProfile_;
if (jsclassProfile__ != null) {
ListSizeNode listSize__ = this.enumerableOwnPropertyNames_listSize_;
if (listSize__ != null) {
ListGetNode listGet__ = this.enumerableOwnPropertyNames_listGet_;
if (listGet__ != null) {
HasOnlyShapePropertiesNode hasOnlyShapeProperties__ = this.enumerableOwnPropertyNames_hasOnlyShapeProperties_;
if (hasOnlyShapeProperties__ != null) {
return enumerableOwnPropertyNames(arg0Value_, jsclassProfile__, listSize__, listGet__, hasOnlyShapeProperties__, INLINED_ENUMERABLE_OWN_PROPERTY_NAMES_GROW_PROFILE_);
}
}
}
}
}
}
if ((state_0 & 0b110) != 0 /* is SpecializationActive[EnumerableOwnPropertyNamesNode.enumerableOwnPropertyNamesForeign(Object, Node, InteropLibrary, InteropLibrary, InteropLibrary, ImportValueNode, InlinedBranchProfile, SwitchEncodingNode, ToJavaStringNode)] || SpecializationActive[EnumerableOwnPropertyNamesNode.enumerableOwnPropertyNamesForeign(Object, Node, InteropLibrary, InteropLibrary, InteropLibrary, ImportValueNode, InlinedBranchProfile, SwitchEncodingNode, ToJavaStringNode)] */) {
if ((state_0 & 0b10) != 0 /* is SpecializationActive[EnumerableOwnPropertyNamesNode.enumerableOwnPropertyNamesForeign(Object, Node, InteropLibrary, InteropLibrary, InteropLibrary, ImportValueNode, InlinedBranchProfile, SwitchEncodingNode, ToJavaStringNode)] */) {
EnumerableOwnPropertyNamesForeign0Data s1_ = this.enumerableOwnPropertyNamesForeign0_cache;
while (s1_ != null) {
if ((s1_.interop_.accepts(arg0Value)) && (JSGuards.isForeignObject(arg0Value))) {
Node node__ = (s1_);
return enumerableOwnPropertyNamesForeign(arg0Value, node__, s1_.interop_, s1_.members_, s1_.asString_, s1_.importValue_, INLINED_ENUMERABLE_OWN_PROPERTY_NAMES_FOREIGN0_ERROR_BRANCH_, s1_.switchEncodingNode_, s1_.toJavaStringNode_);
}
s1_ = s1_.next_;
}
}
if ((state_0 & 0b100) != 0 /* is SpecializationActive[EnumerableOwnPropertyNamesNode.enumerableOwnPropertyNamesForeign(Object, Node, InteropLibrary, InteropLibrary, InteropLibrary, ImportValueNode, InlinedBranchProfile, SwitchEncodingNode, ToJavaStringNode)] */) {
EnumerableOwnPropertyNamesForeign1Data s2_ = this.enumerableOwnPropertyNamesForeign1_cache;
if (s2_ != null) {
if ((JSGuards.isForeignObject(arg0Value))) {
return this.enumerableOwnPropertyNamesForeign1Boundary(state_0, s2_, arg0Value);
}
}
}
}
}
CompilerDirectives.transferToInterpreterAndInvalidate();
return executeAndSpecialize(arg0Value);
}
@SuppressWarnings("static-method")
@TruffleBoundary
private UnmodifiableArrayList extends Object> enumerableOwnPropertyNamesForeign1Boundary(int state_0, EnumerableOwnPropertyNamesForeign1Data s2_, Object arg0Value) {
EncapsulatingNodeReference encapsulating_ = EncapsulatingNodeReference.getCurrent();
Node prev_ = encapsulating_.set(this);
try {
{
Node node__ = (s2_);
InteropLibrary interop__ = (INTEROP_LIBRARY_.getUncached(arg0Value));
return enumerableOwnPropertyNamesForeign(arg0Value, node__, interop__, s2_.members_, s2_.asString_, s2_.importValue_, INLINED_ENUMERABLE_OWN_PROPERTY_NAMES_FOREIGN1_ERROR_BRANCH_, s2_.switchEncodingNode_, s2_.toJavaStringNode_);
}
} finally {
encapsulating_.set(prev_);
}
}
private UnmodifiableArrayList extends Object> executeAndSpecialize(Object arg0Value) {
int state_0 = this.state_0_;
if (arg0Value instanceof JSDynamicObject) {
JSDynamicObject arg0Value_ = (JSDynamicObject) arg0Value;
JSClassProfile jsclassProfile__ = (JSClassProfile.create());
Objects.requireNonNull(jsclassProfile__, "A specialization cache returned a 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 the default value.");
VarHandle.storeStoreFence();
this.enumerableOwnPropertyNames_jsclassProfile_ = jsclassProfile__;
ListSizeNode listSize__ = this.insert((ListSizeNodeGen.create()));
Objects.requireNonNull(listSize__, "A specialization cache returned a 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 the default value.");
VarHandle.storeStoreFence();
this.enumerableOwnPropertyNames_listSize_ = listSize__;
ListGetNode listGet__ = this.insert((ListGetNodeGen.create()));
Objects.requireNonNull(listGet__, "A specialization cache returned a 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 the default value.");
VarHandle.storeStoreFence();
this.enumerableOwnPropertyNames_listGet_ = listGet__;
HasOnlyShapePropertiesNode hasOnlyShapeProperties__ = this.insert((HasOnlyShapePropertiesNodeGen.create()));
Objects.requireNonNull(hasOnlyShapeProperties__, "A specialization cache returned a 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 the default value.");
VarHandle.storeStoreFence();
this.enumerableOwnPropertyNames_hasOnlyShapeProperties_ = hasOnlyShapeProperties__;
state_0 = state_0 | 0b1 /* add SpecializationActive[EnumerableOwnPropertyNamesNode.enumerableOwnPropertyNames(JSDynamicObject, JSClassProfile, ListSizeNode, ListGetNode, HasOnlyShapePropertiesNode, InlinedBranchProfile)] */;
this.state_0_ = state_0;
return enumerableOwnPropertyNames(arg0Value_, jsclassProfile__, listSize__, listGet__, hasOnlyShapeProperties__, INLINED_ENUMERABLE_OWN_PROPERTY_NAMES_GROW_PROFILE_);
}
{
Node node__ = null;
if (((state_0 & 0b100)) == 0 /* is-not SpecializationActive[EnumerableOwnPropertyNamesNode.enumerableOwnPropertyNamesForeign(Object, Node, InteropLibrary, InteropLibrary, InteropLibrary, ImportValueNode, InlinedBranchProfile, SwitchEncodingNode, ToJavaStringNode)] */) {
while (true) {
int count1_ = 0;
EnumerableOwnPropertyNamesForeign0Data s1_ = ENUMERABLE_OWN_PROPERTY_NAMES_FOREIGN0_CACHE_UPDATER.getVolatile(this);
EnumerableOwnPropertyNamesForeign0Data s1_original = s1_;
while (s1_ != null) {
if ((s1_.interop_.accepts(arg0Value)) && (JSGuards.isForeignObject(arg0Value))) {
node__ = (s1_);
break;
}
count1_++;
s1_ = s1_.next_;
}
if (s1_ == null) {
if ((JSGuards.isForeignObject(arg0Value)) && count1_ < (JSConfig.InteropLibraryLimit)) {
// assert (s1_.interop_.accepts(arg0Value));
s1_ = this.insert(new EnumerableOwnPropertyNamesForeign0Data(s1_original));
node__ = (s1_);
InteropLibrary interop__ = s1_.insert((INTEROP_LIBRARY_.create(arg0Value)));
Objects.requireNonNull(interop__, "A specialization cache returned a 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 the default value.");
s1_.interop_ = interop__;
InteropLibrary members__ = s1_.insert((INTEROP_LIBRARY_.createDispatched(JSConfig.InteropLibraryLimit)));
Objects.requireNonNull(members__, "A specialization cache returned a 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 the default value.");
s1_.members_ = members__;
InteropLibrary asString__ = s1_.insert((INTEROP_LIBRARY_.createDispatched(JSConfig.InteropLibraryLimit)));
Objects.requireNonNull(asString__, "A specialization cache returned a 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 the default value.");
s1_.asString_ = asString__;
ImportValueNode importValue__ = s1_.insert((ImportValueNode.create()));
Objects.requireNonNull(importValue__, "A specialization cache returned a 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 the default value.");
s1_.importValue_ = importValue__;
SwitchEncodingNode switchEncodingNode__ = s1_.insert((SwitchEncodingNode.create()));
Objects.requireNonNull(switchEncodingNode__, "A specialization cache returned a 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 the default value.");
s1_.switchEncodingNode_ = switchEncodingNode__;
ToJavaStringNode toJavaStringNode__ = s1_.insert((ToJavaStringNode.create()));
Objects.requireNonNull(toJavaStringNode__, "A specialization cache returned a 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 the default value.");
s1_.toJavaStringNode_ = toJavaStringNode__;
if (!ENUMERABLE_OWN_PROPERTY_NAMES_FOREIGN0_CACHE_UPDATER.compareAndSet(this, s1_original, s1_)) {
continue;
}
state_0 = state_0 | 0b10 /* add SpecializationActive[EnumerableOwnPropertyNamesNode.enumerableOwnPropertyNamesForeign(Object, Node, InteropLibrary, InteropLibrary, InteropLibrary, ImportValueNode, InlinedBranchProfile, SwitchEncodingNode, ToJavaStringNode)] */;
this.state_0_ = state_0;
}
}
if (s1_ != null) {
return enumerableOwnPropertyNamesForeign(arg0Value, node__, s1_.interop_, s1_.members_, s1_.asString_, s1_.importValue_, INLINED_ENUMERABLE_OWN_PROPERTY_NAMES_FOREIGN0_ERROR_BRANCH_, s1_.switchEncodingNode_, s1_.toJavaStringNode_);
}
break;
}
}
}
{
InteropLibrary interop__ = null;
Node node__ = null;
{
EncapsulatingNodeReference encapsulating_ = EncapsulatingNodeReference.getCurrent();
Node prev_ = encapsulating_.set(this);
try {
if ((JSGuards.isForeignObject(arg0Value))) {
EnumerableOwnPropertyNamesForeign1Data s2_ = this.insert(new EnumerableOwnPropertyNamesForeign1Data());
node__ = (s2_);
interop__ = (INTEROP_LIBRARY_.getUncached(arg0Value));
InteropLibrary members__ = s2_.insert((INTEROP_LIBRARY_.createDispatched(JSConfig.InteropLibraryLimit)));
Objects.requireNonNull(members__, "A specialization cache returned a 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 the default value.");
s2_.members_ = members__;
InteropLibrary asString__ = s2_.insert((INTEROP_LIBRARY_.createDispatched(JSConfig.InteropLibraryLimit)));
Objects.requireNonNull(asString__, "A specialization cache returned a 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 the default value.");
s2_.asString_ = asString__;
ImportValueNode importValue__ = s2_.insert((ImportValueNode.create()));
Objects.requireNonNull(importValue__, "A specialization cache returned a 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 the default value.");
s2_.importValue_ = importValue__;
SwitchEncodingNode switchEncodingNode__ = s2_.insert((SwitchEncodingNode.create()));
Objects.requireNonNull(switchEncodingNode__, "A specialization cache returned a 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 the default value.");
s2_.switchEncodingNode_ = switchEncodingNode__;
ToJavaStringNode toJavaStringNode__ = s2_.insert((ToJavaStringNode.create()));
Objects.requireNonNull(toJavaStringNode__, "A specialization cache returned a 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 the default value.");
s2_.toJavaStringNode_ = toJavaStringNode__;
VarHandle.storeStoreFence();
this.enumerableOwnPropertyNamesForeign1_cache = s2_;
this.enumerableOwnPropertyNamesForeign0_cache = null;
state_0 = state_0 & 0xfffffffd /* remove SpecializationActive[EnumerableOwnPropertyNamesNode.enumerableOwnPropertyNamesForeign(Object, Node, InteropLibrary, InteropLibrary, InteropLibrary, ImportValueNode, InlinedBranchProfile, SwitchEncodingNode, ToJavaStringNode)] */;
state_0 = state_0 | 0b100 /* add SpecializationActive[EnumerableOwnPropertyNamesNode.enumerableOwnPropertyNamesForeign(Object, Node, InteropLibrary, InteropLibrary, InteropLibrary, ImportValueNode, InlinedBranchProfile, SwitchEncodingNode, ToJavaStringNode)] */;
this.state_0_ = state_0;
return enumerableOwnPropertyNamesForeign(arg0Value, node__, interop__, members__, asString__, importValue__, INLINED_ENUMERABLE_OWN_PROPERTY_NAMES_FOREIGN1_ERROR_BRANCH_, switchEncodingNode__, toJavaStringNode__);
}
} finally {
encapsulating_.set(prev_);
}
}
}
throw new UnsupportedSpecializationException(this, null, arg0Value);
}
@NeverDefault
public static EnumerableOwnPropertyNamesNode create(JSContext context, boolean keys, boolean values) {
return new EnumerableOwnPropertyNamesNodeGen(context, keys, values);
}
@GeneratedBy(EnumerableOwnPropertyNamesNode.class)
@DenyReplace
private static final class EnumerableOwnPropertyNamesForeign0Data extends Node implements SpecializationDataNode {
@Child EnumerableOwnPropertyNamesForeign0Data next_;
/**
* State Info:
* 0: InlinedCache
* Specialization: {@link EnumerableOwnPropertyNamesNode#enumerableOwnPropertyNamesForeign}
* Parameter: {@link InlinedBranchProfile} errorBranch
* Inline method: {@link InlinedBranchProfile#inline}
*
*/
@CompilationFinal @UnsafeAccessedField private int enumerableOwnPropertyNamesForeign0_state_0_;
/**
* Source Info:
* Specialization: {@link EnumerableOwnPropertyNamesNode#enumerableOwnPropertyNamesForeign}
* Parameter: {@link InteropLibrary} interop
*/
@Child InteropLibrary interop_;
/**
* Source Info:
* Specialization: {@link EnumerableOwnPropertyNamesNode#enumerableOwnPropertyNamesForeign}
* Parameter: {@link InteropLibrary} members
*/
@Child InteropLibrary members_;
/**
* Source Info:
* Specialization: {@link EnumerableOwnPropertyNamesNode#enumerableOwnPropertyNamesForeign}
* Parameter: {@link InteropLibrary} asString
*/
@Child InteropLibrary asString_;
/**
* Source Info:
* Specialization: {@link EnumerableOwnPropertyNamesNode#enumerableOwnPropertyNamesForeign}
* Parameter: {@link ImportValueNode} importValue
*/
@Child ImportValueNode importValue_;
/**
* Source Info:
* Specialization: {@link EnumerableOwnPropertyNamesNode#enumerableOwnPropertyNamesForeign}
* Parameter: {@link SwitchEncodingNode} switchEncodingNode
*/
@Child SwitchEncodingNode switchEncodingNode_;
/**
* Source Info:
* Specialization: {@link EnumerableOwnPropertyNamesNode#enumerableOwnPropertyNamesForeign}
* Parameter: {@link ToJavaStringNode} toJavaStringNode
*/
@Child ToJavaStringNode toJavaStringNode_;
EnumerableOwnPropertyNamesForeign0Data(EnumerableOwnPropertyNamesForeign0Data next_) {
this.next_ = next_;
}
private static Lookup lookup_() {
return MethodHandles.lookup();
}
}
@GeneratedBy(EnumerableOwnPropertyNamesNode.class)
@DenyReplace
private static final class EnumerableOwnPropertyNamesForeign1Data extends Node implements SpecializationDataNode {
/**
* State Info:
* 0: InlinedCache
* Specialization: {@link EnumerableOwnPropertyNamesNode#enumerableOwnPropertyNamesForeign}
* Parameter: {@link InlinedBranchProfile} errorBranch
* Inline method: {@link InlinedBranchProfile#inline}
*
*/
@CompilationFinal @UnsafeAccessedField private int enumerableOwnPropertyNamesForeign1_state_0_;
/**
* Source Info:
* Specialization: {@link EnumerableOwnPropertyNamesNode#enumerableOwnPropertyNamesForeign}
* Parameter: {@link InteropLibrary} members
*/
@Child InteropLibrary members_;
/**
* Source Info:
* Specialization: {@link EnumerableOwnPropertyNamesNode#enumerableOwnPropertyNamesForeign}
* Parameter: {@link InteropLibrary} asString
*/
@Child InteropLibrary asString_;
/**
* Source Info:
* Specialization: {@link EnumerableOwnPropertyNamesNode#enumerableOwnPropertyNamesForeign}
* Parameter: {@link ImportValueNode} importValue
*/
@Child ImportValueNode importValue_;
/**
* Source Info:
* Specialization: {@link EnumerableOwnPropertyNamesNode#enumerableOwnPropertyNamesForeign}
* Parameter: {@link SwitchEncodingNode} switchEncodingNode
*/
@Child SwitchEncodingNode switchEncodingNode_;
/**
* Source Info:
* Specialization: {@link EnumerableOwnPropertyNamesNode#enumerableOwnPropertyNamesForeign}
* Parameter: {@link ToJavaStringNode} toJavaStringNode
*/
@Child ToJavaStringNode toJavaStringNode_;
EnumerableOwnPropertyNamesForeign1Data() {
}
private static Lookup lookup_() {
return MethodHandles.lookup();
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy