Tabnine Logo
TruffleRuntime.createCallTarget
Code IndexAdd Tabnine to your IDE (free)

How to use
createCallTarget
method
in
com.oracle.truffle.api.TruffleRuntime

Best Java code snippets using com.oracle.truffle.api.TruffleRuntime.createCallTarget (Showing top 20 results out of 315)

origin: com.oracle.truffle/truffle-api

CallTarget lookupComputation(Object key, RootNode computation) {
  Cache cache = lookupCache(key);
  if (cache.computation == null && computation != null) {
    cache.computation = Truffle.getRuntime().createCallTarget(computation);
  }
  return cache.computation;
}
origin: com.oracle.truffle/truffle-api

protected static CallTarget createTarget(HostEntryRootNode<?> node) {
  EngineSupport support = JavaInterop.ACCESSOR.engine();
  if (support == null) {
    return Truffle.getRuntime().createCallTarget(new RootNode(null) {
      @Override
      public Object execute(VirtualFrame frame) {
        return node.execute(frame);
      }
    });
  }
  return Truffle.getRuntime().createCallTarget(support.wrapHostBoundary(node, node));
}
origin: com.oracle.truffle/truffle-api

@Override
public CallTarget accessIsExecutable() {
 return Truffle.getRuntime().createCallTarget(RootNode.createConstantNode(false));
}
@Override
origin: com.oracle.truffle/truffle-api

@Override
public CallTarget accessIsInstantiable() {
 return Truffle.getRuntime().createCallTarget(RootNode.createConstantNode(false));
}
@Override
origin: com.oracle.truffle/truffle-api

@Override
public CallTarget accessKeys() {
 return com.oracle.truffle.api.Truffle.getRuntime().createCallTarget(VarsMapKeysSubNode.createRoot());
}
@Override
origin: com.oracle.truffle/truffle-api

@Override
public CallTarget accessIsExecutable() {
 return Truffle.getRuntime().createCallTarget(RootNode.createConstantNode(false));
}
@Override
origin: com.oracle.truffle/truffle-api

@Override
public CallTarget accessHasKeys() {
 return Truffle.getRuntime().createCallTarget(ArgsArrHasKeysSubNode.createRoot());
}
@Override
origin: com.oracle.truffle/truffle-api

@Override
public CallTarget accessHasSize() {
 return Truffle.getRuntime().createCallTarget(ArgsArrHasSizeSubNode.createRoot());
}
@Override
origin: com.oracle.truffle/truffle-api

@Override
public CallTarget accessHasSize() {
 return Truffle.getRuntime().createCallTarget(ArgsArrHasSizeSubNode.createRoot());
}
@Override
origin: com.oracle.truffle/truffle-api

@Override
public CallTarget accessIsExecutable() {
 return Truffle.getRuntime().createCallTarget(IsExecutableSubNode.createRoot());
}
@Override
origin: com.oracle.truffle/truffle-api

@Override
public CallTarget accessIsBoxed() {
 return Truffle.getRuntime().createCallTarget(BoxedCheckSubNode.createRoot());
}
@Override
origin: com.oracle.truffle/truffle-api

@Override
public CallTarget accessKeyInfo() {
 return com.oracle.truffle.api.Truffle.getRuntime().createCallTarget(KeyInfoSubNode.createRoot());
}
@Override
origin: com.oracle.truffle/truffle-api

@Override
public CallTarget accessIsPointer() {
 return Truffle.getRuntime().createCallTarget(RootNode.createConstantNode(false));
}
@Override
origin: com.oracle.truffle/truffle-api

@Override
public CallTarget accessIsExecutable() {
 return Truffle.getRuntime().createCallTarget(RootNode.createConstantNode(false));
}
@Override
origin: com.oracle.truffle/truffle-api

@Override
public CallTarget accessIsInstantiable() {
 return Truffle.getRuntime().createCallTarget(RootNode.createConstantNode(false));
}
@Override
origin: com.oracle.truffle/truffle-api

@Override
public CallTarget accessIsPointer() {
 return Truffle.getRuntime().createCallTarget(RootNode.createConstantNode(false));
}
@Override
origin: com.oracle.truffle/truffle-api

@Override
public CallTarget accessIsNull() {
 return Truffle.getRuntime().createCallTarget(RootNode.createConstantNode(false));
}
@Override
origin: com.oracle.truffle/truffle-api

@Override
public CallTarget accessIsExecutable() {
 return Truffle.getRuntime().createCallTarget(RootNode.createConstantNode(false));
}
@Override
origin: com.oracle.truffle/truffle-api

@Override
public CallTarget accessGetSize() {
 return com.oracle.truffle.api.Truffle.getRuntime().createCallTarget(VarNamesGetSizeSubNode.createRoot());
}
@Override
origin: com.oracle.truffle/truffle-api

@Override
public CallTarget accessRead() {
 return com.oracle.truffle.api.Truffle.getRuntime().createCallTarget(VarNamesReadSubNode.createRoot());
}
@Override
com.oracle.truffle.apiTruffleRuntimecreateCallTarget

Javadoc

Creates a new call target for a given root node.

Popular methods of TruffleRuntime

  • createAssumption
    Creates a new assumption object with a given name that can be checked and invalidated.
  • createDirectCallNode
    Creates a new runtime specific version of DirectCallNode.
  • getCapability
    Requests a capability from the runtime.
  • iterateFrames
    Accesses the current stack, i.e., the contents of the Frames and the associated CallTargets. Iterati
  • createIndirectCallNode
    Creates a new runtime specific version of IndirectCallNode.
  • isProfilingEnabled
    Whether or not the TruffleRuntime implementation can or wants to use gathered profiling information
  • notifyTransferToInterpreter
    Internal API method. Do not use.
  • createLoopNode
    Creates a new loop node with an implementation provided by a Truffle runtime implementation. Using T
  • createVirtualFrame
    Creates a new virtual frame object that can be used to store values and is potentially optimizable b
  • getName
    Name describing this runtime implementation for debugging purposes.

Popular in Java

  • Making http requests using okhttp
  • compareTo (BigDecimal)
  • putExtra (Intent)
  • getSharedPreferences (Context)
  • BorderLayout (java.awt)
    A border layout lays out a container, arranging and resizing its components to fit in five regions:
  • OutputStream (java.io)
    A writable sink for bytes.Most clients will use output streams that write data to the file system (
  • SocketTimeoutException (java.net)
    This exception is thrown when a timeout expired on a socket read or accept operation.
  • ArrayList (java.util)
    ArrayList is an implementation of List, backed by an array. All optional operations including adding
  • Handler (java.util.logging)
    A Handler object accepts a logging request and exports the desired messages to a target, for example
  • Servlet (javax.servlet)
    Defines methods that all servlets must implement. A servlet is a small Java program that runs within
  • CodeWhisperer alternatives
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now