
com.oracle.truffle.js.nodes.function.SpreadFunctionArgumentsNodeGen Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of js-language Show documentation
Show all versions of js-language Show documentation
Graal JavaScript implementation
The newest version!
// CheckStyle: start generated
package com.oracle.truffle.js.nodes.function;
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.frame.VirtualFrame;
import com.oracle.truffle.api.profiles.InlinedBranchProfile;
import com.oracle.truffle.js.nodes.JavaScriptNode;
import java.lang.invoke.MethodHandles;
/**
* Debug Info:
* Specialization {@link SpreadFunctionArgumentsNode#fillObjectArray}
* Activation probability: 1.00000
* With/without class size: 24/1 bytes
*
*/
@GeneratedBy(SpreadFunctionArgumentsNode.class)
@SuppressWarnings("javadoc")
final class SpreadFunctionArgumentsNodeGen extends SpreadFunctionArgumentsNode {
private static final StateField STATE_0_SpreadFunctionArgumentsNode_UPDATER = StateField.create(MethodHandles.lookup(), "state_0_");
/**
* Source Info:
* Specialization: {@link SpreadFunctionArgumentsNode#fillObjectArray}
* Parameter: {@link InlinedBranchProfile} growBranch
* Inline method: {@link InlinedBranchProfile#inline}
*/
private static final InlinedBranchProfile INLINED_GROW_BRANCH_ = InlinedBranchProfile.inline(InlineTarget.create(InlinedBranchProfile.class, STATE_0_SpreadFunctionArgumentsNode_UPDATER.subUpdater(0, 1)));
/**
* State Info:
* 0: InlinedCache
* Specialization: {@link SpreadFunctionArgumentsNode#fillObjectArray}
* Parameter: {@link InlinedBranchProfile} growBranch
* Inline method: {@link InlinedBranchProfile#inline}
*
*/
@CompilationFinal @UnsafeAccessedField private int state_0_;
private SpreadFunctionArgumentsNodeGen(JavaScriptNode[] args) {
super(args);
}
@Override
public Object[] executeFillObjectArray(VirtualFrame frameValue, Object[] arg0Value, int arg1Value) {
return fillObjectArray(frameValue, arg0Value, arg1Value, INLINED_GROW_BRANCH_);
}
@NeverDefault
public static SpreadFunctionArgumentsNode create(JavaScriptNode[] args) {
return new SpreadFunctionArgumentsNodeGen(args);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy