com.oracle.truffle.js.nodes.access.GetMethodNodeGen Maven / Gradle / Ivy
// CheckStyle: start generated
package com.oracle.truffle.js.nodes.access;
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.InlineSupport.InlineTarget;
import com.oracle.truffle.api.dsl.InlineSupport.StateField;
import com.oracle.truffle.api.dsl.InlineSupport.UnsafeAccessedField;
import com.oracle.truffle.api.profiles.InlinedBranchProfile;
import com.oracle.truffle.api.profiles.InlinedConditionProfile;
import com.oracle.truffle.js.runtime.JSContext;
import java.lang.invoke.MethodHandles;
/**
* Debug Info:
* Specialization {@link GetMethodNode#doGetMethod}
* Activation probability: 1.00000
* With/without class size: 24/1 bytes
*
*/
@GeneratedBy(GetMethodNode.class)
@SuppressWarnings("javadoc")
public final class GetMethodNodeGen extends GetMethodNode {
private static final StateField STATE_0_GetMethodNode_UPDATER = StateField.create(MethodHandles.lookup(), "state_0_");
/**
* Source Info:
* Specialization: {@link GetMethodNode#doGetMethod}
* Parameter: {@link InlinedConditionProfile} undefinedOrNull
* Inline method: {@link InlinedConditionProfile#inline}
*/
private static final InlinedConditionProfile INLINED_UNDEFINED_OR_NULL_ = InlinedConditionProfile.inline(InlineTarget.create(InlinedConditionProfile.class, STATE_0_GetMethodNode_UPDATER.subUpdater(0, 2)));
/**
* Source Info:
* Specialization: {@link GetMethodNode#doGetMethod}
* Parameter: {@link InlinedBranchProfile} notCallableBranch
* Inline method: {@link InlinedBranchProfile#inline}
*/
private static final InlinedBranchProfile INLINED_NOT_CALLABLE_BRANCH_ = InlinedBranchProfile.inline(InlineTarget.create(InlinedBranchProfile.class, STATE_0_GetMethodNode_UPDATER.subUpdater(2, 1)));
/**
* State Info:
* 0-1: InlinedCache
* Specialization: {@link GetMethodNode#doGetMethod}
* Parameter: {@link InlinedConditionProfile} undefinedOrNull
* Inline method: {@link InlinedConditionProfile#inline}
* 2: InlinedCache
* Specialization: {@link GetMethodNode#doGetMethod}
* Parameter: {@link InlinedBranchProfile} notCallableBranch
* Inline method: {@link InlinedBranchProfile#inline}
*
*/
@CompilationFinal @UnsafeAccessedField private int state_0_;
private GetMethodNodeGen(JSContext context, Object propertyKey) {
super(context, propertyKey);
}
@Override
public Object executeWithTarget(Object arg0Value) {
return doGetMethod(arg0Value, INLINED_UNDEFINED_OR_NULL_, INLINED_NOT_CALLABLE_BRANCH_);
}
@NeverDefault
public static GetMethodNode create(JSContext context, Object propertyKey) {
return new GetMethodNodeGen(context, propertyKey);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy