All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.oracle.truffle.js.nodes.access.LocalVarPostfixIncNodeGen 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.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.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.UnexpectedResultException;
import com.oracle.truffle.api.profiles.InlinedConditionProfile;
import com.oracle.truffle.js.nodes.JSTypesGen;
import com.oracle.truffle.js.nodes.cast.JSToNumericNode;
import com.oracle.truffle.js.nodes.unary.JSOverloadedUnaryNode;
import com.oracle.truffle.js.nodes.unary.JSOverloadedUnaryNodeGen;
import java.lang.invoke.MethodHandles;
import java.lang.invoke.VarHandle;
import java.lang.invoke.MethodHandles.Lookup;
import java.util.Objects;

/**
 * Debug Info: 
 *   Specialization {@link LocalVarPostfixIncNode#doBoolean}
 *     Activation probability: 0.13626
 *     With/without class size: 5/0 bytes
 *   Specialization {@link LocalVarPostfixIncNode#doBooleanDouble}
 *     Activation probability: 0.12637
 *     With/without class size: 5/0 bytes
 *   Specialization {@link LocalVarPostfixIncNode#doBooleanObject}
 *     Activation probability: 0.11648
 *     With/without class size: 5/0 bytes
 *   Specialization {@link LocalVarPostfixIncNode#doInt}
 *     Activation probability: 0.10659
 *     With/without class size: 5/0 bytes
 *   Specialization {@link LocalVarPostfixIncNode#doIntDouble}
 *     Activation probability: 0.09670
 *     With/without class size: 5/0 bytes
 *   Specialization {@link LocalVarPostfixIncNode#doIntObject}
 *     Activation probability: 0.08681
 *     With/without class size: 5/0 bytes
 *   Specialization {@link LocalVarPostfixIncNode#doDouble}
 *     Activation probability: 0.07692
 *     With/without class size: 4/0 bytes
 *   Specialization {@link LocalVarPostfixIncNode#doDoubleObject}
 *     Activation probability: 0.06703
 *     With/without class size: 4/0 bytes
 *   Specialization {@link LocalVarPostfixIncNode#doObject}
 *     Activation probability: 0.05714
 *     With/without class size: 5/9 bytes
 *   Specialization {@link LocalVarPostfixIncNode#doSafeInteger}
 *     Activation probability: 0.04725
 *     With/without class size: 4/0 bytes
 *   Specialization {@link LocalVarPostfixIncNode#doSafeIntegerToDouble}
 *     Activation probability: 0.03736
 *     With/without class size: 4/0 bytes
 *   Specialization {@link LocalVarPostfixIncNode#doSafeIntegerObject}
 *     Activation probability: 0.02747
 *     With/without class size: 4/0 bytes
 *   Specialization {@link LocalVarPostfixIncNode#doDead}
 *     Activation probability: 0.01758
 *     With/without class size: 4/0 bytes
 * 
*/ @GeneratedBy(LocalVarPostfixIncNode.class) @SuppressWarnings("javadoc") final class LocalVarPostfixIncNodeGen extends LocalVarPostfixIncNode { private static final StateField OBJECT__LOCAL_VAR_POSTFIX_INC_NODE_OBJECT_STATE_0_UPDATER = StateField.create(ObjectData.lookup_(), "object_state_0_"); /** * Source Info:
     *   Specialization: {@link LocalVarPostfixIncNode#doObject}
     *   Parameter: {@link InlinedConditionProfile} isNumberProfile
     *   Inline method: {@link InlinedConditionProfile#inline}
*/ private static final InlinedConditionProfile INLINED_OBJECT_IS_NUMBER_PROFILE_ = InlinedConditionProfile.inline(InlineTarget.create(InlinedConditionProfile.class, OBJECT__LOCAL_VAR_POSTFIX_INC_NODE_OBJECT_STATE_0_UPDATER.subUpdater(0, 2))); /** * Source Info:
     *   Specialization: {@link LocalVarPostfixIncNode#doObject}
     *   Parameter: {@link InlinedConditionProfile} isIntegerProfile
     *   Inline method: {@link InlinedConditionProfile#inline}
*/ private static final InlinedConditionProfile INLINED_OBJECT_IS_INTEGER_PROFILE_ = InlinedConditionProfile.inline(InlineTarget.create(InlinedConditionProfile.class, OBJECT__LOCAL_VAR_POSTFIX_INC_NODE_OBJECT_STATE_0_UPDATER.subUpdater(2, 2))); /** * Source Info:
     *   Specialization: {@link LocalVarPostfixIncNode#doObject}
     *   Parameter: {@link InlinedConditionProfile} isBigIntProfile
     *   Inline method: {@link InlinedConditionProfile#inline}
*/ private static final InlinedConditionProfile INLINED_OBJECT_IS_BIG_INT_PROFILE_ = InlinedConditionProfile.inline(InlineTarget.create(InlinedConditionProfile.class, OBJECT__LOCAL_VAR_POSTFIX_INC_NODE_OBJECT_STATE_0_UPDATER.subUpdater(4, 2))); /** * Source Info:
     *   Specialization: {@link LocalVarPostfixIncNode#doObject}
     *   Parameter: {@link InlinedConditionProfile} isBoundaryProfile
     *   Inline method: {@link InlinedConditionProfile#inline}
*/ private static final InlinedConditionProfile INLINED_OBJECT_IS_BOUNDARY_PROFILE_ = InlinedConditionProfile.inline(InlineTarget.create(InlinedConditionProfile.class, OBJECT__LOCAL_VAR_POSTFIX_INC_NODE_OBJECT_STATE_0_UPDATER.subUpdater(6, 2))); /** * State Info:
     *   0: SpecializationActive {@link LocalVarPostfixIncNode#doBoolean}
     *   1: SpecializationActive {@link LocalVarPostfixIncNode#doBooleanDouble}
     *   2: SpecializationActive {@link LocalVarPostfixIncNode#doBooleanObject}
     *   3: SpecializationActive {@link LocalVarPostfixIncNode#doInt}
     *   4: SpecializationExcluded {@link LocalVarPostfixIncNode#doInt}
     *   5: SpecializationActive {@link LocalVarPostfixIncNode#doIntDouble}
     *   6: SpecializationActive {@link LocalVarPostfixIncNode#doIntObject}
     *   7: SpecializationActive {@link LocalVarPostfixIncNode#doDouble}
     *   8: SpecializationActive {@link LocalVarPostfixIncNode#doDoubleObject}
     *   9: SpecializationActive {@link LocalVarPostfixIncNode#doObject}
     *   10: SpecializationActive {@link LocalVarPostfixIncNode#doSafeInteger}
     *   11: SpecializationExcluded {@link LocalVarPostfixIncNode#doSafeInteger}
     *   12: SpecializationActive {@link LocalVarPostfixIncNode#doSafeIntegerToDouble}
     *   13: SpecializationActive {@link LocalVarPostfixIncNode#doSafeIntegerObject}
     *   14: SpecializationActive {@link LocalVarPostfixIncNode#doDead}
     * 
*/ @CompilationFinal private int state_0_; @Child private ObjectData object_cache; private LocalVarPostfixIncNodeGen(LocalVarOp op, int slot, Object identifier, boolean hasTemporalDeadZone, ScopeFrameNode scopeFrameNode) { super(op, slot, identifier, hasTemporalDeadZone, scopeFrameNode); } @Override public Object execute(VirtualFrame frameValue) { int state_0 = this.state_0_; Frame scopeFrameNodeValue_ = super.scopeFrameNode.executeFrame(frameValue); if ((state_0 & 0b111011111101111) != 0 /* is SpecializationActive[LocalVarPostfixIncNode.doBoolean(Frame)] || SpecializationActive[LocalVarPostfixIncNode.doBooleanDouble(Frame)] || SpecializationActive[LocalVarPostfixIncNode.doBooleanObject(Frame)] || SpecializationActive[LocalVarPostfixIncNode.doInt(Frame)] || SpecializationActive[LocalVarPostfixIncNode.doIntDouble(Frame)] || SpecializationActive[LocalVarPostfixIncNode.doIntObject(Frame)] || SpecializationActive[LocalVarPostfixIncNode.doDouble(Frame)] || SpecializationActive[LocalVarPostfixIncNode.doDoubleObject(Frame)] || SpecializationActive[LocalVarPostfixIncNode.doObject(Frame, Node, InlinedConditionProfile, InlinedConditionProfile, InlinedConditionProfile, InlinedConditionProfile, JSOverloadedUnaryNode, JSToNumericNode)] || SpecializationActive[LocalVarPostfixIncNode.doSafeInteger(Frame)] || SpecializationActive[LocalVarPostfixIncNode.doSafeIntegerToDouble(Frame)] || SpecializationActive[LocalVarPostfixIncNode.doSafeIntegerObject(Frame)] || SpecializationActive[LocalVarPostfixIncNode.doDead(Frame)] */) { if ((state_0 & 0b1) != 0 /* is SpecializationActive[LocalVarPostfixIncNode.doBoolean(Frame)] */) { if ((scopeFrameNodeValue_.isBoolean(slot)) && (isIntegerKind(scopeFrameNodeValue_))) { return doBoolean(scopeFrameNodeValue_); } } if ((state_0 & 0b10) != 0 /* is SpecializationActive[LocalVarPostfixIncNode.doBooleanDouble(Frame)] */) { if ((scopeFrameNodeValue_.isBoolean(slot)) && (isDoubleKind(scopeFrameNodeValue_))) { return doBooleanDouble(scopeFrameNodeValue_); } } if ((state_0 & 0b100) != 0 /* is SpecializationActive[LocalVarPostfixIncNode.doBooleanObject(Frame)] */) { if ((scopeFrameNodeValue_.isBoolean(slot))) { return doBooleanObject(scopeFrameNodeValue_); } } if ((state_0 & 0b1000) != 0 /* is SpecializationActive[LocalVarPostfixIncNode.doInt(Frame)] */) { if ((scopeFrameNodeValue_.isInt(slot)) && (isIntegerKind(scopeFrameNodeValue_))) { try { return doInt(scopeFrameNodeValue_); } catch (ArithmeticException ex) { CompilerDirectives.transferToInterpreterAndInvalidate(); state_0 = this.state_0_; state_0 = state_0 & 0xfffffff7 /* remove SpecializationActive[LocalVarPostfixIncNode.doInt(Frame)] */; state_0 = state_0 | 0b10000 /* add SpecializationExcluded */; this.state_0_ = state_0; return executeAndSpecialize(scopeFrameNodeValue_); } } } if ((state_0 & 0b100000) != 0 /* is SpecializationActive[LocalVarPostfixIncNode.doIntDouble(Frame)] */) { if ((scopeFrameNodeValue_.isInt(slot)) && (isDoubleKind(scopeFrameNodeValue_))) { return doIntDouble(scopeFrameNodeValue_); } } if ((state_0 & 0b1000000) != 0 /* is SpecializationActive[LocalVarPostfixIncNode.doIntObject(Frame)] */) { if ((scopeFrameNodeValue_.isInt(slot))) { return doIntObject(scopeFrameNodeValue_); } } if ((state_0 & 0b10000000) != 0 /* is SpecializationActive[LocalVarPostfixIncNode.doDouble(Frame)] */) { if ((scopeFrameNodeValue_.isDouble(slot)) && (isDoubleKind(scopeFrameNodeValue_))) { return doDouble(scopeFrameNodeValue_); } } if ((state_0 & 0b100000000) != 0 /* is SpecializationActive[LocalVarPostfixIncNode.doDoubleObject(Frame)] */) { if ((scopeFrameNodeValue_.isDouble(slot))) { return doDoubleObject(scopeFrameNodeValue_); } } if ((state_0 & 0b1000000000) != 0 /* is SpecializationActive[LocalVarPostfixIncNode.doObject(Frame, Node, InlinedConditionProfile, InlinedConditionProfile, InlinedConditionProfile, InlinedConditionProfile, JSOverloadedUnaryNode, JSToNumericNode)] */) { ObjectData s8_ = this.object_cache; if (s8_ != null) { if ((scopeFrameNodeValue_.isObject(slot))) { Node node__ = (s8_); return doObject(scopeFrameNodeValue_, node__, INLINED_OBJECT_IS_NUMBER_PROFILE_, INLINED_OBJECT_IS_INTEGER_PROFILE_, INLINED_OBJECT_IS_BIG_INT_PROFILE_, INLINED_OBJECT_IS_BOUNDARY_PROFILE_, s8_.overloadedOperatorNode_, s8_.toNumericOperand_); } } } if ((state_0 & 0b10000000000) != 0 /* is SpecializationActive[LocalVarPostfixIncNode.doSafeInteger(Frame)] */) { if ((scopeFrameNodeValue_.isLong(slot)) && (isLongKind(scopeFrameNodeValue_))) { try { return doSafeInteger(scopeFrameNodeValue_); } catch (ArithmeticException ex) { CompilerDirectives.transferToInterpreterAndInvalidate(); state_0 = this.state_0_; state_0 = state_0 & 0xfffffbff /* remove SpecializationActive[LocalVarPostfixIncNode.doSafeInteger(Frame)] */; state_0 = state_0 | 0b100000000000 /* add SpecializationExcluded */; this.state_0_ = state_0; return executeAndSpecialize(scopeFrameNodeValue_); } } } if ((state_0 & 0b1000000000000) != 0 /* is SpecializationActive[LocalVarPostfixIncNode.doSafeIntegerToDouble(Frame)] */) { if ((scopeFrameNodeValue_.isLong(slot)) && (isDoubleKind(scopeFrameNodeValue_))) { return doSafeIntegerToDouble(scopeFrameNodeValue_); } } if ((state_0 & 0b10000000000000) != 0 /* is SpecializationActive[LocalVarPostfixIncNode.doSafeIntegerObject(Frame)] */) { if ((scopeFrameNodeValue_.isLong(slot))) { return doSafeIntegerObject(scopeFrameNodeValue_); } } if ((state_0 & 0b100000000000000) != 0 /* is SpecializationActive[LocalVarPostfixIncNode.doDead(Frame)] */) { if ((isIllegal(scopeFrameNodeValue_))) { return doDead(scopeFrameNodeValue_); } } } CompilerDirectives.transferToInterpreterAndInvalidate(); return executeAndSpecialize(scopeFrameNodeValue_); } @Override public double executeDouble(VirtualFrame frameValue) throws UnexpectedResultException { int state_0 = this.state_0_; if ((state_0 & 0b100001000000000) != 0 /* is SpecializationActive[LocalVarPostfixIncNode.doObject(Frame, Node, InlinedConditionProfile, InlinedConditionProfile, InlinedConditionProfile, InlinedConditionProfile, JSOverloadedUnaryNode, JSToNumericNode)] || SpecializationActive[LocalVarPostfixIncNode.doDead(Frame)] */) { return JSTypesGen.expectDouble(execute(frameValue)); } Frame scopeFrameNodeValue_ = super.scopeFrameNode.executeFrame(frameValue); if ((state_0 & 0b11000110000000) != 0 /* is SpecializationActive[LocalVarPostfixIncNode.doDouble(Frame)] || SpecializationActive[LocalVarPostfixIncNode.doDoubleObject(Frame)] || SpecializationActive[LocalVarPostfixIncNode.doSafeIntegerToDouble(Frame)] || SpecializationActive[LocalVarPostfixIncNode.doSafeIntegerObject(Frame)] */) { if ((state_0 & 0b10000000) != 0 /* is SpecializationActive[LocalVarPostfixIncNode.doDouble(Frame)] */) { if ((scopeFrameNodeValue_.isDouble(slot)) && (isDoubleKind(scopeFrameNodeValue_))) { return doDouble(scopeFrameNodeValue_); } } if ((state_0 & 0b100000000) != 0 /* is SpecializationActive[LocalVarPostfixIncNode.doDoubleObject(Frame)] */) { if ((scopeFrameNodeValue_.isDouble(slot))) { return doDoubleObject(scopeFrameNodeValue_); } } if ((state_0 & 0b1000000000000) != 0 /* is SpecializationActive[LocalVarPostfixIncNode.doSafeIntegerToDouble(Frame)] */) { if ((scopeFrameNodeValue_.isLong(slot)) && (isDoubleKind(scopeFrameNodeValue_))) { return doSafeIntegerToDouble(scopeFrameNodeValue_); } } if ((state_0 & 0b10000000000000) != 0 /* is SpecializationActive[LocalVarPostfixIncNode.doSafeIntegerObject(Frame)] */) { if ((scopeFrameNodeValue_.isLong(slot))) { return doSafeIntegerObject(scopeFrameNodeValue_); } } } CompilerDirectives.transferToInterpreterAndInvalidate(); return JSTypesGen.expectDouble(executeAndSpecialize(scopeFrameNodeValue_)); } @Override public int executeInt(VirtualFrame frameValue) throws UnexpectedResultException { int state_0 = this.state_0_; if ((state_0 & 0b100001000000000) != 0 /* is SpecializationActive[LocalVarPostfixIncNode.doObject(Frame, Node, InlinedConditionProfile, InlinedConditionProfile, InlinedConditionProfile, InlinedConditionProfile, JSOverloadedUnaryNode, JSToNumericNode)] || SpecializationActive[LocalVarPostfixIncNode.doDead(Frame)] */) { return JSTypesGen.expectInteger(execute(frameValue)); } Frame scopeFrameNodeValue_ = super.scopeFrameNode.executeFrame(frameValue); if ((state_0 & 0b1101111) != 0 /* is SpecializationActive[LocalVarPostfixIncNode.doBoolean(Frame)] || SpecializationActive[LocalVarPostfixIncNode.doBooleanDouble(Frame)] || SpecializationActive[LocalVarPostfixIncNode.doBooleanObject(Frame)] || SpecializationActive[LocalVarPostfixIncNode.doInt(Frame)] || SpecializationActive[LocalVarPostfixIncNode.doIntDouble(Frame)] || SpecializationActive[LocalVarPostfixIncNode.doIntObject(Frame)] */) { if ((state_0 & 0b1) != 0 /* is SpecializationActive[LocalVarPostfixIncNode.doBoolean(Frame)] */) { if ((scopeFrameNodeValue_.isBoolean(slot)) && (isIntegerKind(scopeFrameNodeValue_))) { return doBoolean(scopeFrameNodeValue_); } } if ((state_0 & 0b10) != 0 /* is SpecializationActive[LocalVarPostfixIncNode.doBooleanDouble(Frame)] */) { if ((scopeFrameNodeValue_.isBoolean(slot)) && (isDoubleKind(scopeFrameNodeValue_))) { return doBooleanDouble(scopeFrameNodeValue_); } } if ((state_0 & 0b100) != 0 /* is SpecializationActive[LocalVarPostfixIncNode.doBooleanObject(Frame)] */) { if ((scopeFrameNodeValue_.isBoolean(slot))) { return doBooleanObject(scopeFrameNodeValue_); } } if ((state_0 & 0b1000) != 0 /* is SpecializationActive[LocalVarPostfixIncNode.doInt(Frame)] */) { if ((scopeFrameNodeValue_.isInt(slot)) && (isIntegerKind(scopeFrameNodeValue_))) { try { return doInt(scopeFrameNodeValue_); } catch (ArithmeticException ex) { CompilerDirectives.transferToInterpreterAndInvalidate(); state_0 = this.state_0_; state_0 = state_0 & 0xfffffff7 /* remove SpecializationActive[LocalVarPostfixIncNode.doInt(Frame)] */; state_0 = state_0 | 0b10000 /* add SpecializationExcluded */; this.state_0_ = state_0; return JSTypesGen.expectInteger(executeAndSpecialize(scopeFrameNodeValue_)); } } } if ((state_0 & 0b100000) != 0 /* is SpecializationActive[LocalVarPostfixIncNode.doIntDouble(Frame)] */) { if ((scopeFrameNodeValue_.isInt(slot)) && (isDoubleKind(scopeFrameNodeValue_))) { return doIntDouble(scopeFrameNodeValue_); } } if ((state_0 & 0b1000000) != 0 /* is SpecializationActive[LocalVarPostfixIncNode.doIntObject(Frame)] */) { if ((scopeFrameNodeValue_.isInt(slot))) { return doIntObject(scopeFrameNodeValue_); } } } CompilerDirectives.transferToInterpreterAndInvalidate(); return JSTypesGen.expectInteger(executeAndSpecialize(scopeFrameNodeValue_)); } @Override public void executeVoid(VirtualFrame frameValue) { int state_0 = this.state_0_; try { if ((state_0 & 0b111011110000000) == 0 /* only-active SpecializationActive[LocalVarPostfixIncNode.doBoolean(Frame)] && SpecializationActive[LocalVarPostfixIncNode.doBooleanDouble(Frame)] && SpecializationActive[LocalVarPostfixIncNode.doBooleanObject(Frame)] && SpecializationActive[LocalVarPostfixIncNode.doInt(Frame)] && SpecializationActive[LocalVarPostfixIncNode.doIntDouble(Frame)] && SpecializationActive[LocalVarPostfixIncNode.doIntObject(Frame)] */ && ((state_0 & 0b111011111101111) != 0 /* is-not SpecializationActive[LocalVarPostfixIncNode.doBoolean(Frame)] && SpecializationActive[LocalVarPostfixIncNode.doBooleanDouble(Frame)] && SpecializationActive[LocalVarPostfixIncNode.doBooleanObject(Frame)] && SpecializationActive[LocalVarPostfixIncNode.doInt(Frame)] && SpecializationActive[LocalVarPostfixIncNode.doIntDouble(Frame)] && SpecializationActive[LocalVarPostfixIncNode.doIntObject(Frame)] && SpecializationActive[LocalVarPostfixIncNode.doDouble(Frame)] && SpecializationActive[LocalVarPostfixIncNode.doDoubleObject(Frame)] && SpecializationActive[LocalVarPostfixIncNode.doObject(Frame, Node, InlinedConditionProfile, InlinedConditionProfile, InlinedConditionProfile, InlinedConditionProfile, JSOverloadedUnaryNode, JSToNumericNode)] && SpecializationActive[LocalVarPostfixIncNode.doSafeInteger(Frame)] && SpecializationActive[LocalVarPostfixIncNode.doSafeIntegerToDouble(Frame)] && SpecializationActive[LocalVarPostfixIncNode.doSafeIntegerObject(Frame)] && SpecializationActive[LocalVarPostfixIncNode.doDead(Frame)] */)) { executeInt(frameValue); return; } else if ((state_0 & 0b100011001101111) == 0 /* only-active SpecializationActive[LocalVarPostfixIncNode.doDouble(Frame)] && SpecializationActive[LocalVarPostfixIncNode.doDoubleObject(Frame)] && SpecializationActive[LocalVarPostfixIncNode.doSafeIntegerToDouble(Frame)] && SpecializationActive[LocalVarPostfixIncNode.doSafeIntegerObject(Frame)] */ && ((state_0 & 0b111011111101111) != 0 /* is-not SpecializationActive[LocalVarPostfixIncNode.doBoolean(Frame)] && SpecializationActive[LocalVarPostfixIncNode.doBooleanDouble(Frame)] && SpecializationActive[LocalVarPostfixIncNode.doBooleanObject(Frame)] && SpecializationActive[LocalVarPostfixIncNode.doInt(Frame)] && SpecializationActive[LocalVarPostfixIncNode.doIntDouble(Frame)] && SpecializationActive[LocalVarPostfixIncNode.doIntObject(Frame)] && SpecializationActive[LocalVarPostfixIncNode.doDouble(Frame)] && SpecializationActive[LocalVarPostfixIncNode.doDoubleObject(Frame)] && SpecializationActive[LocalVarPostfixIncNode.doObject(Frame, Node, InlinedConditionProfile, InlinedConditionProfile, InlinedConditionProfile, InlinedConditionProfile, JSOverloadedUnaryNode, JSToNumericNode)] && SpecializationActive[LocalVarPostfixIncNode.doSafeInteger(Frame)] && SpecializationActive[LocalVarPostfixIncNode.doSafeIntegerToDouble(Frame)] && SpecializationActive[LocalVarPostfixIncNode.doSafeIntegerObject(Frame)] && SpecializationActive[LocalVarPostfixIncNode.doDead(Frame)] */)) { executeDouble(frameValue); return; } execute(frameValue); return; } catch (UnexpectedResultException ex) { CompilerDirectives.transferToInterpreterAndInvalidate(); return; } } private Object executeAndSpecialize(Frame scopeFrameNodeValue) { int state_0 = this.state_0_; if (((state_0 & 0b110)) == 0 /* is-not SpecializationActive[LocalVarPostfixIncNode.doBooleanDouble(Frame)] && SpecializationActive[LocalVarPostfixIncNode.doBooleanObject(Frame)] */) { if ((scopeFrameNodeValue.isBoolean(slot)) && (isIntegerKind(scopeFrameNodeValue))) { state_0 = state_0 | 0b1 /* add SpecializationActive[LocalVarPostfixIncNode.doBoolean(Frame)] */; this.state_0_ = state_0; return doBoolean(scopeFrameNodeValue); } } if (((state_0 & 0b100)) == 0 /* is-not SpecializationActive[LocalVarPostfixIncNode.doBooleanObject(Frame)] */) { if ((scopeFrameNodeValue.isBoolean(slot)) && (isDoubleKind(scopeFrameNodeValue))) { state_0 = state_0 & 0xfffffffe /* remove SpecializationActive[LocalVarPostfixIncNode.doBoolean(Frame)] */; state_0 = state_0 | 0b10 /* add SpecializationActive[LocalVarPostfixIncNode.doBooleanDouble(Frame)] */; this.state_0_ = state_0; return doBooleanDouble(scopeFrameNodeValue); } } if ((scopeFrameNodeValue.isBoolean(slot))) { state_0 = state_0 & 0xfffffffc /* remove SpecializationActive[LocalVarPostfixIncNode.doBoolean(Frame)], SpecializationActive[LocalVarPostfixIncNode.doBooleanDouble(Frame)] */; state_0 = state_0 | 0b100 /* add SpecializationActive[LocalVarPostfixIncNode.doBooleanObject(Frame)] */; this.state_0_ = state_0; return doBooleanObject(scopeFrameNodeValue); } if (((state_0 & 0b1100000)) == 0 /* is-not SpecializationActive[LocalVarPostfixIncNode.doIntDouble(Frame)] && SpecializationActive[LocalVarPostfixIncNode.doIntObject(Frame)] */ && ((state_0 & 0b10000)) == 0 /* is-not SpecializationExcluded */) { if ((scopeFrameNodeValue.isInt(slot)) && (isIntegerKind(scopeFrameNodeValue))) { state_0 = state_0 | 0b1000 /* add SpecializationActive[LocalVarPostfixIncNode.doInt(Frame)] */; this.state_0_ = state_0; try { return doInt(scopeFrameNodeValue); } catch (ArithmeticException ex) { CompilerDirectives.transferToInterpreterAndInvalidate(); state_0 = this.state_0_; state_0 = state_0 & 0xfffffff7 /* remove SpecializationActive[LocalVarPostfixIncNode.doInt(Frame)] */; state_0 = state_0 | 0b10000 /* add SpecializationExcluded */; this.state_0_ = state_0; return executeAndSpecialize(scopeFrameNodeValue); } } } if (((state_0 & 0b1000000)) == 0 /* is-not SpecializationActive[LocalVarPostfixIncNode.doIntObject(Frame)] */) { if ((scopeFrameNodeValue.isInt(slot)) && (isDoubleKind(scopeFrameNodeValue))) { state_0 = state_0 & 0xfffffff7 /* remove SpecializationActive[LocalVarPostfixIncNode.doInt(Frame)] */; state_0 = state_0 | 0b100000 /* add SpecializationActive[LocalVarPostfixIncNode.doIntDouble(Frame)] */; this.state_0_ = state_0; return doIntDouble(scopeFrameNodeValue); } } if ((scopeFrameNodeValue.isInt(slot))) { state_0 = state_0 & 0xffffffd7 /* remove SpecializationActive[LocalVarPostfixIncNode.doInt(Frame)], SpecializationActive[LocalVarPostfixIncNode.doIntDouble(Frame)] */; state_0 = state_0 | 0b1000000 /* add SpecializationActive[LocalVarPostfixIncNode.doIntObject(Frame)] */; this.state_0_ = state_0; return doIntObject(scopeFrameNodeValue); } if (((state_0 & 0b100000000)) == 0 /* is-not SpecializationActive[LocalVarPostfixIncNode.doDoubleObject(Frame)] */) { if ((scopeFrameNodeValue.isDouble(slot)) && (isDoubleKind(scopeFrameNodeValue))) { state_0 = state_0 | 0b10000000 /* add SpecializationActive[LocalVarPostfixIncNode.doDouble(Frame)] */; this.state_0_ = state_0; return doDouble(scopeFrameNodeValue); } } if ((scopeFrameNodeValue.isDouble(slot))) { state_0 = state_0 & 0xffffff7f /* remove SpecializationActive[LocalVarPostfixIncNode.doDouble(Frame)] */; state_0 = state_0 | 0b100000000 /* add SpecializationActive[LocalVarPostfixIncNode.doDoubleObject(Frame)] */; this.state_0_ = state_0; return doDoubleObject(scopeFrameNodeValue); } { Node node__ = null; if ((scopeFrameNodeValue.isObject(slot))) { ObjectData s8_ = this.insert(new ObjectData()); node__ = (s8_); JSOverloadedUnaryNode overloadedOperatorNode__ = s8_.insert((JSOverloadedUnaryNodeGen.create(getOverloadedOperatorName()))); Objects.requireNonNull(overloadedOperatorNode__, "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."); s8_.overloadedOperatorNode_ = overloadedOperatorNode__; JSToNumericNode toNumericOperand__ = s8_.insert((JSToNumericNode.createToNumericOperand())); Objects.requireNonNull(toNumericOperand__, "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."); s8_.toNumericOperand_ = toNumericOperand__; VarHandle.storeStoreFence(); this.object_cache = s8_; state_0 = state_0 | 0b1000000000 /* add SpecializationActive[LocalVarPostfixIncNode.doObject(Frame, Node, InlinedConditionProfile, InlinedConditionProfile, InlinedConditionProfile, InlinedConditionProfile, JSOverloadedUnaryNode, JSToNumericNode)] */; this.state_0_ = state_0; return doObject(scopeFrameNodeValue, node__, INLINED_OBJECT_IS_NUMBER_PROFILE_, INLINED_OBJECT_IS_INTEGER_PROFILE_, INLINED_OBJECT_IS_BIG_INT_PROFILE_, INLINED_OBJECT_IS_BOUNDARY_PROFILE_, overloadedOperatorNode__, toNumericOperand__); } } if (((state_0 & 0b11000000000000)) == 0 /* is-not SpecializationActive[LocalVarPostfixIncNode.doSafeIntegerToDouble(Frame)] && SpecializationActive[LocalVarPostfixIncNode.doSafeIntegerObject(Frame)] */ && ((state_0 & 0b100000000000)) == 0 /* is-not SpecializationExcluded */) { if ((scopeFrameNodeValue.isLong(slot)) && (isLongKind(scopeFrameNodeValue))) { state_0 = state_0 | 0b10000000000 /* add SpecializationActive[LocalVarPostfixIncNode.doSafeInteger(Frame)] */; this.state_0_ = state_0; try { return doSafeInteger(scopeFrameNodeValue); } catch (ArithmeticException ex) { CompilerDirectives.transferToInterpreterAndInvalidate(); state_0 = this.state_0_; state_0 = state_0 & 0xfffffbff /* remove SpecializationActive[LocalVarPostfixIncNode.doSafeInteger(Frame)] */; state_0 = state_0 | 0b100000000000 /* add SpecializationExcluded */; this.state_0_ = state_0; return executeAndSpecialize(scopeFrameNodeValue); } } } if (((state_0 & 0b10000000000000)) == 0 /* is-not SpecializationActive[LocalVarPostfixIncNode.doSafeIntegerObject(Frame)] */) { if ((scopeFrameNodeValue.isLong(slot)) && (isDoubleKind(scopeFrameNodeValue))) { state_0 = state_0 & 0xfffffbff /* remove SpecializationActive[LocalVarPostfixIncNode.doSafeInteger(Frame)] */; state_0 = state_0 | 0b1000000000000 /* add SpecializationActive[LocalVarPostfixIncNode.doSafeIntegerToDouble(Frame)] */; this.state_0_ = state_0; return doSafeIntegerToDouble(scopeFrameNodeValue); } } if ((scopeFrameNodeValue.isLong(slot))) { state_0 = state_0 & 0xffffebff /* remove SpecializationActive[LocalVarPostfixIncNode.doSafeInteger(Frame)], SpecializationActive[LocalVarPostfixIncNode.doSafeIntegerToDouble(Frame)] */; state_0 = state_0 | 0b10000000000000 /* add SpecializationActive[LocalVarPostfixIncNode.doSafeIntegerObject(Frame)] */; this.state_0_ = state_0; return doSafeIntegerObject(scopeFrameNodeValue); } if ((isIllegal(scopeFrameNodeValue))) { state_0 = state_0 | 0b100000000000000 /* add SpecializationActive[LocalVarPostfixIncNode.doDead(Frame)] */; this.state_0_ = state_0; return doDead(scopeFrameNodeValue); } throw new UnsupportedSpecializationException(this, new Node[] {super.scopeFrameNode}, scopeFrameNodeValue); } @NeverDefault public static LocalVarPostfixIncNode create(LocalVarOp op, int slot, Object identifier, boolean hasTemporalDeadZone, ScopeFrameNode scopeFrameNode) { return new LocalVarPostfixIncNodeGen(op, slot, identifier, hasTemporalDeadZone, scopeFrameNode); } @GeneratedBy(LocalVarPostfixIncNode.class) @DenyReplace private static final class ObjectData extends Node implements SpecializationDataNode { /** * State Info:
         *   0-1: InlinedCache
         *        Specialization: {@link LocalVarPostfixIncNode#doObject}
         *        Parameter: {@link InlinedConditionProfile} isNumberProfile
         *        Inline method: {@link InlinedConditionProfile#inline}
         *   2-3: InlinedCache
         *        Specialization: {@link LocalVarPostfixIncNode#doObject}
         *        Parameter: {@link InlinedConditionProfile} isIntegerProfile
         *        Inline method: {@link InlinedConditionProfile#inline}
         *   4-5: InlinedCache
         *        Specialization: {@link LocalVarPostfixIncNode#doObject}
         *        Parameter: {@link InlinedConditionProfile} isBigIntProfile
         *        Inline method: {@link InlinedConditionProfile#inline}
         *   6-7: InlinedCache
         *        Specialization: {@link LocalVarPostfixIncNode#doObject}
         *        Parameter: {@link InlinedConditionProfile} isBoundaryProfile
         *        Inline method: {@link InlinedConditionProfile#inline}
         * 
*/ @CompilationFinal @UnsafeAccessedField private int object_state_0_; /** * Source Info:
         *   Specialization: {@link LocalVarPostfixIncNode#doObject}
         *   Parameter: {@link JSOverloadedUnaryNode} overloadedOperatorNode
*/ @Child JSOverloadedUnaryNode overloadedOperatorNode_; /** * Source Info:
         *   Specialization: {@link LocalVarPostfixIncNode#doObject}
         *   Parameter: {@link JSToNumericNode} toNumericOperand
*/ @Child JSToNumericNode toNumericOperand_; ObjectData() { } private static Lookup lookup_() { return MethodHandles.lookup(); } } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy