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

com.oracle.truffle.js.builtins.MLEBuiltinsFactory Maven / Gradle / Ivy

// CheckStyle: start generated
package com.oracle.truffle.js.builtins;

import com.oracle.truffle.api.dsl.GeneratedBy;
import com.oracle.truffle.api.dsl.NeverDefault;
import com.oracle.truffle.api.frame.VirtualFrame;
import com.oracle.truffle.js.builtins.MLEBuiltins.MLERegisterEsmLookupNode;
import com.oracle.truffle.js.nodes.JavaScriptNode;
import com.oracle.truffle.js.nodes.function.JSBuiltin;
import com.oracle.truffle.js.runtime.JSContext;

@GeneratedBy(MLEBuiltins.class)
@SuppressWarnings("javadoc")
public final class MLEBuiltinsFactory {

    /**
     * Debug Info: 
     *   Specialization {@link MLERegisterEsmLookupNode#registerHook}
     *     Activation probability: 1.00000
     *     With/without class size: 16/0 bytes
     * 
*/ @GeneratedBy(MLERegisterEsmLookupNode.class) @SuppressWarnings("javadoc") public static final class MLERegisterEsmLookupNodeGen extends MLERegisterEsmLookupNode { @Child private JavaScriptNode arguments0_; private MLERegisterEsmLookupNodeGen(JSContext context, JSBuiltin builtin, JavaScriptNode[] arguments) { super(context, builtin); this.arguments0_ = arguments != null && 0 < arguments.length ? arguments[0] : null; } @Override public JavaScriptNode[] getArguments() { return new JavaScriptNode[] {this.arguments0_}; } @Override public Object execute(VirtualFrame frameValue) { Object arguments0Value_ = this.arguments0_.execute(frameValue); return registerHook(arguments0Value_); } @NeverDefault public static MLERegisterEsmLookupNode create(JSContext context, JSBuiltin builtin, JavaScriptNode[] arguments) { return new MLERegisterEsmLookupNodeGen(context, builtin, arguments); } } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy