com.oracle.graal.python.lib.PyObjectAsciiNodeGen Maven / Gradle / Ivy
// CheckStyle: start generated
package com.oracle.graal.python.lib;
import com.oracle.truffle.api.CompilerDirectives;
import com.oracle.truffle.api.CompilerDirectives.CompilationFinal;
import com.oracle.truffle.api.dsl.GeneratedBy;
import com.oracle.truffle.api.dsl.InlineSupport;
import com.oracle.truffle.api.dsl.NeverDefault;
import com.oracle.truffle.api.dsl.InlineSupport.InlineTarget;
import com.oracle.truffle.api.dsl.InlineSupport.ReferenceField;
import com.oracle.truffle.api.dsl.InlineSupport.RequiredField;
import com.oracle.truffle.api.dsl.InlineSupport.StateField;
import com.oracle.truffle.api.dsl.InlineSupport.UnsafeAccessedField;
import com.oracle.truffle.api.frame.Frame;
import com.oracle.truffle.api.frame.VirtualFrame;
import com.oracle.truffle.api.nodes.DenyReplace;
import com.oracle.truffle.api.nodes.Node;
import com.oracle.truffle.api.nodes.NodeCost;
import com.oracle.truffle.api.strings.TruffleString;
import com.oracle.truffle.api.strings.TruffleString.CodePointLengthNode;
import com.oracle.truffle.api.strings.TruffleString.CreateCodePointIteratorNode;
import com.oracle.truffle.api.strings.TruffleString.FromByteArrayNode;
import com.oracle.truffle.api.strings.TruffleString.SwitchEncodingNode;
import com.oracle.truffle.api.strings.TruffleStringIterator.NextNode;
import java.lang.invoke.MethodHandles;
import java.lang.invoke.VarHandle;
import java.util.Objects;
/**
* Debug Info:
* Specialization {@link PyObjectAsciiNode#ascii}
* Activation probability: 1.00000
* With/without class size: 76/56 bytes
*
*/
@GeneratedBy(PyObjectAsciiNode.class)
@SuppressWarnings({"javadoc", "unused"})
public final class PyObjectAsciiNodeGen extends PyObjectAsciiNode {
private static final StateField STATE_0_PyObjectAsciiNode_UPDATER = StateField.create(MethodHandles.lookup(), "state_0_");
/**
* Source Info:
* Specialization: {@link PyObjectAsciiNode#ascii}
* Parameter: {@link PyObjectReprAsTruffleStringNode} reprNode
* Inline method: {@link PyObjectReprAsTruffleStringNodeGen#inline}
*/
private static final PyObjectReprAsTruffleStringNode INLINED_REPR_NODE_ = PyObjectReprAsTruffleStringNodeGen.inline(InlineTarget.create(PyObjectReprAsTruffleStringNode.class, STATE_0_PyObjectAsciiNode_UPDATER.subUpdater(1, 31), ReferenceField.create(MethodHandles.lookup(), "reprNode__field1_", Node.class), ReferenceField.create(MethodHandles.lookup(), "reprNode__field2_", Node.class), ReferenceField.create(MethodHandles.lookup(), "reprNode__field3_", Node.class), ReferenceField.create(MethodHandles.lookup(), "reprNode__field4_", Node.class), ReferenceField.create(MethodHandles.lookup(), "reprNode__field5_", Node.class), ReferenceField.create(MethodHandles.lookup(), "reprNode__field6_", Node.class), ReferenceField.create(MethodHandles.lookup(), "reprNode__field7_", Node.class), ReferenceField.create(MethodHandles.lookup(), "reprNode__field8_", Node.class)));
private static final Uncached UNCACHED = new Uncached();
/**
* State Info:
* 0: SpecializationActive {@link PyObjectAsciiNode#ascii}
* 1-31: InlinedCache
* Specialization: {@link PyObjectAsciiNode#ascii}
* Parameter: {@link PyObjectReprAsTruffleStringNode} reprNode
* Inline method: {@link PyObjectReprAsTruffleStringNodeGen#inline}
*
*/
@CompilationFinal @UnsafeAccessedField private int state_0_;
/**
* Source Info:
* Specialization: {@link PyObjectAsciiNode#ascii}
* Parameter: {@link PyObjectReprAsTruffleStringNode} reprNode
* Inline method: {@link PyObjectReprAsTruffleStringNodeGen#inline}
* Inline field: {@link Node} field1
*/
@Child @UnsafeAccessedField @SuppressWarnings("unused") private Node reprNode__field1_;
/**
* Source Info:
* Specialization: {@link PyObjectAsciiNode#ascii}
* Parameter: {@link PyObjectReprAsTruffleStringNode} reprNode
* Inline method: {@link PyObjectReprAsTruffleStringNodeGen#inline}
* Inline field: {@link Node} field2
*/
@Child @UnsafeAccessedField @SuppressWarnings("unused") private Node reprNode__field2_;
/**
* Source Info:
* Specialization: {@link PyObjectAsciiNode#ascii}
* Parameter: {@link PyObjectReprAsTruffleStringNode} reprNode
* Inline method: {@link PyObjectReprAsTruffleStringNodeGen#inline}
* Inline field: {@link Node} field3
*/
@Child @UnsafeAccessedField @SuppressWarnings("unused") private Node reprNode__field3_;
/**
* Source Info:
* Specialization: {@link PyObjectAsciiNode#ascii}
* Parameter: {@link PyObjectReprAsTruffleStringNode} reprNode
* Inline method: {@link PyObjectReprAsTruffleStringNodeGen#inline}
* Inline field: {@link Node} field4
*/
@Child @UnsafeAccessedField @SuppressWarnings("unused") private Node reprNode__field4_;
/**
* Source Info:
* Specialization: {@link PyObjectAsciiNode#ascii}
* Parameter: {@link PyObjectReprAsTruffleStringNode} reprNode
* Inline method: {@link PyObjectReprAsTruffleStringNodeGen#inline}
* Inline field: {@link Node} field5
*/
@Child @UnsafeAccessedField @SuppressWarnings("unused") private Node reprNode__field5_;
/**
* Source Info:
* Specialization: {@link PyObjectAsciiNode#ascii}
* Parameter: {@link PyObjectReprAsTruffleStringNode} reprNode
* Inline method: {@link PyObjectReprAsTruffleStringNodeGen#inline}
* Inline field: {@link Node} field6
*/
@Child @UnsafeAccessedField @SuppressWarnings("unused") private Node reprNode__field6_;
/**
* Source Info:
* Specialization: {@link PyObjectAsciiNode#ascii}
* Parameter: {@link PyObjectReprAsTruffleStringNode} reprNode
* Inline method: {@link PyObjectReprAsTruffleStringNodeGen#inline}
* Inline field: {@link Node} field7
*/
@Child @UnsafeAccessedField @SuppressWarnings("unused") private Node reprNode__field7_;
/**
* Source Info:
* Specialization: {@link PyObjectAsciiNode#ascii}
* Parameter: {@link PyObjectReprAsTruffleStringNode} reprNode
* Inline method: {@link PyObjectReprAsTruffleStringNodeGen#inline}
* Inline field: {@link Node} field8
*/
@Child @UnsafeAccessedField @SuppressWarnings("unused") private Node reprNode__field8_;
/**
* Source Info:
* Specialization: {@link PyObjectAsciiNode#ascii}
* Parameter: {@link CreateCodePointIteratorNode} createCodePointIteratorNode
*/
@Child private CreateCodePointIteratorNode createCodePointIteratorNode_;
/**
* Source Info:
* Specialization: {@link PyObjectAsciiNode#ascii}
* Parameter: {@link NextNode} nextNode
*/
@Child private NextNode nextNode_;
/**
* Source Info:
* Specialization: {@link PyObjectAsciiNode#ascii}
* Parameter: {@link CodePointLengthNode} codePointLengthNode
*/
@Child private CodePointLengthNode codePointLengthNode_;
/**
* Source Info:
* Specialization: {@link PyObjectAsciiNode#ascii}
* Parameter: {@link FromByteArrayNode} fromByteArrayNode
*/
@Child private FromByteArrayNode fromByteArrayNode_;
/**
* Source Info:
* Specialization: {@link PyObjectAsciiNode#ascii}
* Parameter: {@link SwitchEncodingNode} switchEncodingNode
*/
@Child private SwitchEncodingNode switchEncodingNode_;
private PyObjectAsciiNodeGen() {
}
@Override
public TruffleString execute(Frame frameValue, Node arg0Value, Object arg1Value) {
int state_0 = this.state_0_;
if ((state_0 & 0b1) != 0 /* is SpecializationActive[PyObjectAsciiNode.ascii(VirtualFrame, Node, Object, PyObjectReprAsTruffleStringNode, CreateCodePointIteratorNode, NextNode, CodePointLengthNode, FromByteArrayNode, SwitchEncodingNode)] */) {
{
CreateCodePointIteratorNode createCodePointIteratorNode__ = this.createCodePointIteratorNode_;
if (createCodePointIteratorNode__ != null) {
NextNode nextNode__ = this.nextNode_;
if (nextNode__ != null) {
CodePointLengthNode codePointLengthNode__ = this.codePointLengthNode_;
if (codePointLengthNode__ != null) {
FromByteArrayNode fromByteArrayNode__ = this.fromByteArrayNode_;
if (fromByteArrayNode__ != null) {
SwitchEncodingNode switchEncodingNode__ = this.switchEncodingNode_;
if (switchEncodingNode__ != null) {
return PyObjectAsciiNode.ascii((VirtualFrame) frameValue, this, arg1Value, INLINED_REPR_NODE_, createCodePointIteratorNode__, nextNode__, codePointLengthNode__, fromByteArrayNode__, switchEncodingNode__);
}
}
}
}
}
}
}
CompilerDirectives.transferToInterpreterAndInvalidate();
return executeAndSpecialize(frameValue, arg0Value, arg1Value);
}
private TruffleString executeAndSpecialize(Frame frameValue, Node arg0Value, Object arg1Value) {
int state_0 = this.state_0_;
CreateCodePointIteratorNode createCodePointIteratorNode__ = this.insert((CreateCodePointIteratorNode.create()));
Objects.requireNonNull(createCodePointIteratorNode__, "Specialization 'ascii(VirtualFrame, Node, Object, PyObjectReprAsTruffleStringNode, CreateCodePointIteratorNode, NextNode, CodePointLengthNode, FromByteArrayNode, SwitchEncodingNode)' cache 'createCodePointIteratorNode' 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'.");
VarHandle.storeStoreFence();
this.createCodePointIteratorNode_ = createCodePointIteratorNode__;
NextNode nextNode__ = this.insert((NextNode.create()));
Objects.requireNonNull(nextNode__, "Specialization 'ascii(VirtualFrame, Node, Object, PyObjectReprAsTruffleStringNode, CreateCodePointIteratorNode, NextNode, CodePointLengthNode, FromByteArrayNode, SwitchEncodingNode)' cache 'nextNode' 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'.");
VarHandle.storeStoreFence();
this.nextNode_ = nextNode__;
CodePointLengthNode codePointLengthNode__ = this.insert((CodePointLengthNode.create()));
Objects.requireNonNull(codePointLengthNode__, "Specialization 'ascii(VirtualFrame, Node, Object, PyObjectReprAsTruffleStringNode, CreateCodePointIteratorNode, NextNode, CodePointLengthNode, FromByteArrayNode, SwitchEncodingNode)' cache 'codePointLengthNode' 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'.");
VarHandle.storeStoreFence();
this.codePointLengthNode_ = codePointLengthNode__;
FromByteArrayNode fromByteArrayNode__ = this.insert((FromByteArrayNode.create()));
Objects.requireNonNull(fromByteArrayNode__, "Specialization 'ascii(VirtualFrame, Node, Object, PyObjectReprAsTruffleStringNode, CreateCodePointIteratorNode, NextNode, CodePointLengthNode, FromByteArrayNode, SwitchEncodingNode)' cache 'fromByteArrayNode' 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'.");
VarHandle.storeStoreFence();
this.fromByteArrayNode_ = fromByteArrayNode__;
SwitchEncodingNode switchEncodingNode__ = this.insert((SwitchEncodingNode.create()));
Objects.requireNonNull(switchEncodingNode__, "Specialization 'ascii(VirtualFrame, Node, Object, PyObjectReprAsTruffleStringNode, CreateCodePointIteratorNode, NextNode, CodePointLengthNode, FromByteArrayNode, SwitchEncodingNode)' cache 'switchEncodingNode' 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'.");
VarHandle.storeStoreFence();
this.switchEncodingNode_ = switchEncodingNode__;
state_0 = state_0 | 0b1 /* add SpecializationActive[PyObjectAsciiNode.ascii(VirtualFrame, Node, Object, PyObjectReprAsTruffleStringNode, CreateCodePointIteratorNode, NextNode, CodePointLengthNode, FromByteArrayNode, SwitchEncodingNode)] */;
this.state_0_ = state_0;
return PyObjectAsciiNode.ascii((VirtualFrame) frameValue, this, arg1Value, INLINED_REPR_NODE_, createCodePointIteratorNode__, nextNode__, codePointLengthNode__, fromByteArrayNode__, switchEncodingNode__);
}
@Override
public NodeCost getCost() {
int state_0 = this.state_0_;
if ((state_0 & 0b1) == 0) {
return NodeCost.UNINITIALIZED;
} else {
return NodeCost.MONOMORPHIC;
}
}
@NeverDefault
public static PyObjectAsciiNode create() {
return new PyObjectAsciiNodeGen();
}
@NeverDefault
public static PyObjectAsciiNode getUncached() {
return PyObjectAsciiNodeGen.UNCACHED;
}
/**
* Required Fields:
* - {@link Inlined#state_0_}
*
- {@link Inlined#reprNode__field1_}
*
- {@link Inlined#reprNode__field2_}
*
- {@link Inlined#reprNode__field3_}
*
- {@link Inlined#reprNode__field4_}
*
- {@link Inlined#reprNode__field5_}
*
- {@link Inlined#reprNode__field6_}
*
- {@link Inlined#reprNode__field7_}
*
- {@link Inlined#reprNode__field8_}
*
- {@link Inlined#createCodePointIteratorNode_}
*
- {@link Inlined#nextNode_}
*
- {@link Inlined#codePointLengthNode_}
*
- {@link Inlined#fromByteArrayNode_}
*
- {@link Inlined#switchEncodingNode_}
*
*/
@NeverDefault
public static PyObjectAsciiNode inline(@RequiredField(bits = 32, value = StateField.class)@RequiredField(type = Node.class, value = ReferenceField.class)@RequiredField(type = Node.class, value = ReferenceField.class)@RequiredField(type = Node.class, value = ReferenceField.class)@RequiredField(type = Node.class, value = ReferenceField.class)@RequiredField(type = Node.class, value = ReferenceField.class)@RequiredField(type = Node.class, value = ReferenceField.class)@RequiredField(type = Node.class, value = ReferenceField.class)@RequiredField(type = Node.class, value = ReferenceField.class)@RequiredField(type = Node.class, value = ReferenceField.class)@RequiredField(type = Node.class, value = ReferenceField.class)@RequiredField(type = Node.class, value = ReferenceField.class)@RequiredField(type = Node.class, value = ReferenceField.class)@RequiredField(type = Node.class, value = ReferenceField.class) InlineTarget target) {
return new PyObjectAsciiNodeGen.Inlined(target);
}
@GeneratedBy(PyObjectAsciiNode.class)
@DenyReplace
private static final class Inlined extends PyObjectAsciiNode {
/**
* State Info:
* 0: SpecializationActive {@link PyObjectAsciiNode#ascii}
* 1-31: InlinedCache
* Specialization: {@link PyObjectAsciiNode#ascii}
* Parameter: {@link PyObjectReprAsTruffleStringNode} reprNode
* Inline method: {@link PyObjectReprAsTruffleStringNodeGen#inline}
*
*/
private final StateField state_0_;
private final ReferenceField reprNode__field1_;
private final ReferenceField reprNode__field2_;
private final ReferenceField reprNode__field3_;
private final ReferenceField reprNode__field4_;
private final ReferenceField reprNode__field5_;
private final ReferenceField reprNode__field6_;
private final ReferenceField reprNode__field7_;
private final ReferenceField reprNode__field8_;
private final ReferenceField createCodePointIteratorNode_;
private final ReferenceField nextNode_;
private final ReferenceField codePointLengthNode_;
private final ReferenceField fromByteArrayNode_;
private final ReferenceField switchEncodingNode_;
/**
* Source Info:
* Specialization: {@link PyObjectAsciiNode#ascii}
* Parameter: {@link PyObjectReprAsTruffleStringNode} reprNode
* Inline method: {@link PyObjectReprAsTruffleStringNodeGen#inline}
*/
private final PyObjectReprAsTruffleStringNode reprNode_;
@SuppressWarnings("unchecked")
private Inlined(InlineTarget target) {
assert target.getTargetClass().isAssignableFrom(PyObjectAsciiNode.class);
this.state_0_ = target.getState(0, 32);
this.reprNode__field1_ = target.getReference(1, Node.class);
this.reprNode__field2_ = target.getReference(2, Node.class);
this.reprNode__field3_ = target.getReference(3, Node.class);
this.reprNode__field4_ = target.getReference(4, Node.class);
this.reprNode__field5_ = target.getReference(5, Node.class);
this.reprNode__field6_ = target.getReference(6, Node.class);
this.reprNode__field7_ = target.getReference(7, Node.class);
this.reprNode__field8_ = target.getReference(8, Node.class);
this.createCodePointIteratorNode_ = target.getReference(9, CreateCodePointIteratorNode.class);
this.nextNode_ = target.getReference(10, NextNode.class);
this.codePointLengthNode_ = target.getReference(11, CodePointLengthNode.class);
this.fromByteArrayNode_ = target.getReference(12, FromByteArrayNode.class);
this.switchEncodingNode_ = target.getReference(13, SwitchEncodingNode.class);
this.reprNode_ = PyObjectReprAsTruffleStringNodeGen.inline(InlineTarget.create(PyObjectReprAsTruffleStringNode.class, state_0_.subUpdater(1, 31), reprNode__field1_, reprNode__field2_, reprNode__field3_, reprNode__field4_, reprNode__field5_, reprNode__field6_, reprNode__field7_, reprNode__field8_));
}
@Override
public TruffleString execute(Frame frameValue, Node arg0Value, Object arg1Value) {
int state_0 = this.state_0_.get(arg0Value);
if ((state_0 & 0b1) != 0 /* is SpecializationActive[PyObjectAsciiNode.ascii(VirtualFrame, Node, Object, PyObjectReprAsTruffleStringNode, CreateCodePointIteratorNode, NextNode, CodePointLengthNode, FromByteArrayNode, SwitchEncodingNode)] */) {
{
CreateCodePointIteratorNode createCodePointIteratorNode__ = this.createCodePointIteratorNode_.get(arg0Value);
if (createCodePointIteratorNode__ != null) {
NextNode nextNode__ = this.nextNode_.get(arg0Value);
if (nextNode__ != null) {
CodePointLengthNode codePointLengthNode__ = this.codePointLengthNode_.get(arg0Value);
if (codePointLengthNode__ != null) {
FromByteArrayNode fromByteArrayNode__ = this.fromByteArrayNode_.get(arg0Value);
if (fromByteArrayNode__ != null) {
SwitchEncodingNode switchEncodingNode__ = this.switchEncodingNode_.get(arg0Value);
if (switchEncodingNode__ != null) {
assert InlineSupport.validate(arg0Value, this.state_0_, this.reprNode__field1_, this.reprNode__field2_, this.reprNode__field3_, this.reprNode__field4_, this.reprNode__field5_, this.reprNode__field6_, this.reprNode__field7_, this.reprNode__field8_);
return PyObjectAsciiNode.ascii((VirtualFrame) frameValue, arg0Value, arg1Value, this.reprNode_, createCodePointIteratorNode__, nextNode__, codePointLengthNode__, fromByteArrayNode__, switchEncodingNode__);
}
}
}
}
}
}
}
CompilerDirectives.transferToInterpreterAndInvalidate();
return executeAndSpecialize(frameValue, arg0Value, arg1Value);
}
private TruffleString executeAndSpecialize(Frame frameValue, Node arg0Value, Object arg1Value) {
int state_0 = this.state_0_.get(arg0Value);
CreateCodePointIteratorNode createCodePointIteratorNode__ = arg0Value.insert((CreateCodePointIteratorNode.create()));
Objects.requireNonNull(createCodePointIteratorNode__, "Specialization 'ascii(VirtualFrame, Node, Object, PyObjectReprAsTruffleStringNode, CreateCodePointIteratorNode, NextNode, CodePointLengthNode, FromByteArrayNode, SwitchEncodingNode)' cache 'createCodePointIteratorNode' 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'.");
VarHandle.storeStoreFence();
this.createCodePointIteratorNode_.set(arg0Value, createCodePointIteratorNode__);
NextNode nextNode__ = arg0Value.insert((NextNode.create()));
Objects.requireNonNull(nextNode__, "Specialization 'ascii(VirtualFrame, Node, Object, PyObjectReprAsTruffleStringNode, CreateCodePointIteratorNode, NextNode, CodePointLengthNode, FromByteArrayNode, SwitchEncodingNode)' cache 'nextNode' 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'.");
VarHandle.storeStoreFence();
this.nextNode_.set(arg0Value, nextNode__);
CodePointLengthNode codePointLengthNode__ = arg0Value.insert((CodePointLengthNode.create()));
Objects.requireNonNull(codePointLengthNode__, "Specialization 'ascii(VirtualFrame, Node, Object, PyObjectReprAsTruffleStringNode, CreateCodePointIteratorNode, NextNode, CodePointLengthNode, FromByteArrayNode, SwitchEncodingNode)' cache 'codePointLengthNode' 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'.");
VarHandle.storeStoreFence();
this.codePointLengthNode_.set(arg0Value, codePointLengthNode__);
FromByteArrayNode fromByteArrayNode__ = arg0Value.insert((FromByteArrayNode.create()));
Objects.requireNonNull(fromByteArrayNode__, "Specialization 'ascii(VirtualFrame, Node, Object, PyObjectReprAsTruffleStringNode, CreateCodePointIteratorNode, NextNode, CodePointLengthNode, FromByteArrayNode, SwitchEncodingNode)' cache 'fromByteArrayNode' 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'.");
VarHandle.storeStoreFence();
this.fromByteArrayNode_.set(arg0Value, fromByteArrayNode__);
SwitchEncodingNode switchEncodingNode__ = arg0Value.insert((SwitchEncodingNode.create()));
Objects.requireNonNull(switchEncodingNode__, "Specialization 'ascii(VirtualFrame, Node, Object, PyObjectReprAsTruffleStringNode, CreateCodePointIteratorNode, NextNode, CodePointLengthNode, FromByteArrayNode, SwitchEncodingNode)' cache 'switchEncodingNode' 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'.");
VarHandle.storeStoreFence();
this.switchEncodingNode_.set(arg0Value, switchEncodingNode__);
state_0 = state_0 | 0b1 /* add SpecializationActive[PyObjectAsciiNode.ascii(VirtualFrame, Node, Object, PyObjectReprAsTruffleStringNode, CreateCodePointIteratorNode, NextNode, CodePointLengthNode, FromByteArrayNode, SwitchEncodingNode)] */;
this.state_0_.set(arg0Value, state_0);
assert InlineSupport.validate(arg0Value, this.state_0_, this.reprNode__field1_, this.reprNode__field2_, this.reprNode__field3_, this.reprNode__field4_, this.reprNode__field5_, this.reprNode__field6_, this.reprNode__field7_, this.reprNode__field8_);
return PyObjectAsciiNode.ascii((VirtualFrame) frameValue, arg0Value, arg1Value, this.reprNode_, createCodePointIteratorNode__, nextNode__, codePointLengthNode__, fromByteArrayNode__, switchEncodingNode__);
}
@Override
public boolean isAdoptable() {
return false;
}
}
@GeneratedBy(PyObjectAsciiNode.class)
@DenyReplace
private static final class Uncached extends PyObjectAsciiNode {
@Override
public TruffleString execute(Frame frameValue, Node arg0Value, Object arg1Value) {
CompilerDirectives.transferToInterpreterAndInvalidate();
return PyObjectAsciiNode.ascii((VirtualFrame) frameValue, arg0Value, arg1Value, (PyObjectReprAsTruffleStringNodeGen.getUncached()), (CreateCodePointIteratorNode.getUncached()), (NextNode.getUncached()), (CodePointLengthNode.getUncached()), (FromByteArrayNode.getUncached()), (SwitchEncodingNode.getUncached()));
}
@Override
public NodeCost getCost() {
return NodeCost.MEGAMORPHIC;
}
@Override
public boolean isAdoptable() {
return false;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy