Tabnine Logo
VirtualFrame.materialize
Code IndexAdd Tabnine to your IDE (free)

How to use
materialize
method
in
com.oracle.truffle.api.frame.VirtualFrame

Best Java code snippets using com.oracle.truffle.api.frame.VirtualFrame.materialize (Showing top 20 results out of 315)

origin: com.oracle.truffle/truffle-api

@Override
protected void onReturnExceptional(VirtualFrame frame, Throwable exception) {
  if (stepping.get()) {
    doStepAfter(frame.materialize(), exception);
  }
}
origin: com.oracle.truffle/truffle-api

@Override
public void onReturnValue(VirtualFrame frame, Object result) {
  if (stepping.get()) {
    doReturn(frame.materialize(), result);
  }
}
origin: com.oracle.truffle/truffle-api

@Override
protected Object onUnwind(VirtualFrame frame, Object info) {
  if (stepping.get()) {
    return doUnwind(frame.materialize());
  } else {
    return null;
  }
}
origin: com.oracle.truffle/truffle-api

@Override
protected void onEnter(VirtualFrame frame) {
  if (stepping.get()) {
    doStepBefore(frame.materialize());
  }
}
origin: org.graalvm.truffle/truffle-api

@Override
public void onReturnValue(VirtualFrame frame, Object result) {
  if (stepping.get()) {
    doReturn(frame.materialize(), result);
  }
}
origin: com.oracle.truffle/truffle-api

@Override
protected void onReturnValue(VirtualFrame frame, Object result) {
  if (stepping.get()) {
    doStepAfter(frame.materialize(), result);
  }
}
origin: com.oracle.truffle/truffle-api

@Override
public void onReturnExceptional(VirtualFrame frame, Throwable exception) {
  if (stepping.get()) {
    doReturn(frame.materialize(), null);
  }
}
origin: org.graalvm.truffle/truffle-api

@Override
protected void onEnter(VirtualFrame frame) {
  if (stepping.get()) {
    doStepBefore(frame.materialize());
  }
}
origin: org.graalvm.truffle/truffle-api

@Override
protected void onReturnExceptional(VirtualFrame frame, Throwable exception) {
  if (stepping.get()) {
    doStepAfter(frame.materialize(), exception);
  }
}
origin: cesquivias/mumbler

private MaterializedFrame initGlobalFrame() {
  VirtualFrame frame = Truffle.getRuntime().createVirtualFrame(null,
      this.globalFrameDescriptor);
  addGlobalFunctions(frame);
  return frame.materialize();
}
origin: cesquivias/mumbler

@Specialization(contains = { "getScopedFunction" })
public Object getMumblerFunction(VirtualFrame virtualFrame) {
  MumblerFunction function = this.getFunction();
  function.setLexicalScope(virtualFrame.materialize());
  return function;
}
origin: org.graalvm.truffle/truffle-api

@Override
protected Object onUnwind(VirtualFrame frame, Object info) {
  Object ret = super.onUnwind(frame, info);
  if (ret != null) {
    return ret;
  }
  if (stepping.get()) {
    return doUnwind(frame.materialize());
  } else {
    return null;
  }
}
origin: org.graalvm.truffle/truffle-api

@Override
protected void onReturnValue(VirtualFrame frame, Object result) {
  if (stepping.get()) {
    Object newResult = doStepAfter(frame.materialize(), result);
    if (newResult != result) {
      CompilerDirectives.transferToInterpreter();
      throw getContext().createUnwind(new ChangedReturnInfo(newResult));
    }
  }
}
origin: com.oracle/truffle

public void enter(Node node, VirtualFrame vFrame) {
  this.probe.checkProbeUnchanged();
  final SyntaxTagTrap beforeTagTrap = probe.getBeforeTrap();
  if (beforeTagTrap != null) {
    beforeTagTrap.tagTrappedAt(((WrapperNode) this.getParent()).getChild(), vFrame.materialize());
  }
  if (firstInstrumentNode != null) {
    firstInstrumentNode.enter(node, vFrame);
  }
}
origin: com.oracle/truffle

public void returnExceptional(Node node, VirtualFrame vFrame, Exception exception) {
  this.probe.checkProbeUnchanged();
  if (firstInstrumentNode != null) {
    firstInstrumentNode.returnExceptional(node, vFrame, exception);
  }
  final SyntaxTagTrap afterTagTrap = probe.getAfterTrap();
  if (afterTagTrap != null) {
    afterTagTrap.tagTrappedAt(((WrapperNode) this.getParent()).getChild(), vFrame.materialize());
  }
}
origin: com.oracle/truffle

public void returnVoid(Node node, VirtualFrame vFrame) {
  this.probe.checkProbeUnchanged();
  if (firstInstrumentNode != null) {
    firstInstrumentNode.returnVoid(node, vFrame);
  }
  final SyntaxTagTrap afterTagTrap = probe.getAfterTrap();
  if (afterTagTrap != null) {
    afterTagTrap.tagTrappedAt(((WrapperNode) this.getParent()).getChild(), vFrame.materialize());
  }
}
origin: com.oracle/truffle

public void returnValue(Node node, VirtualFrame vFrame, Object result) {
  this.probe.checkProbeUnchanged();
  if (firstInstrumentNode != null) {
    firstInstrumentNode.returnValue(node, vFrame, result);
  }
  final SyntaxTagTrap afterTagTrap = probe.getAfterTrap();
  if (afterTagTrap != null) {
    afterTagTrap.tagTrappedAt(((WrapperNode) this.getParent()).getChild(), vFrame.materialize());
  }
}
origin: com.oracle.truffle/truffle-api

boolean executeBreakCondition(VirtualFrame frame, DebuggerSession[] sessions) {
  if ((conditionSnippet == null && conditionCallNode == null) || !conditionUnchanged.isValid()) {
    CompilerDirectives.transferToInterpreterAndInvalidate();
    initializeConditional(frame.materialize());
  }
  Object result;
  try {
    suspensionEnabledNode.execute(false, sessions);
    if (conditionSnippet != null) {
      result = conditionSnippet.execute(frame);
    } else {
      result = conditionCallNode.call(EMPTY_ARRAY);
    }
  } finally {
    suspensionEnabledNode.execute(true, sessions);
  }
  if (!(result instanceof Boolean)) {
    CompilerDirectives.transferToInterpreter();
    throw new IllegalArgumentException("Unsupported return type " + result + " in condition.");
  }
  return (Boolean) result;
}
origin: org.graalvm.truffle/truffle-api

boolean executeBreakCondition(VirtualFrame frame, DebuggerSession[] sessions) {
  if ((conditionSnippet == null && conditionCallNode == null) || !conditionUnchanged.isValid()) {
    CompilerDirectives.transferToInterpreterAndInvalidate();
    initializeConditional(frame.materialize());
  }
  Object result;
  try {
    suspensionEnabledNode.execute(false, sessions);
    if (conditionSnippet != null) {
      result = conditionSnippet.execute(frame);
    } else {
      result = conditionCallNode.call(EMPTY_ARRAY);
    }
  } finally {
    suspensionEnabledNode.execute(true, sessions);
  }
  if (!(result instanceof Boolean)) {
    CompilerDirectives.transferToInterpreter();
    throw new IllegalArgumentException("Unsupported return type " + result + " in condition.");
  }
  return (Boolean) result;
}
origin: com.oracle.truffle/truffle-api

breakpoint.doBreak(this, sessions, frame.materialize(), onEnter, result, conditionError);
com.oracle.truffle.api.frameVirtualFramematerialize

Popular methods of VirtualFrame

  • getArguments
  • setObject
  • getObject
  • getFrameDescriptor
  • getLong
  • setLong
  • getBoolean
  • getValue
  • setBoolean
  • setInt

Popular in Java

  • Making http requests using okhttp
  • getResourceAsStream (ClassLoader)
  • onCreateOptionsMenu (Activity)
  • getContentResolver (Context)
  • BufferedWriter (java.io)
    Wraps an existing Writer and buffers the output. Expensive interaction with the underlying reader is
  • Iterator (java.util)
    An iterator over a sequence of objects, such as a collection.If a collection has been changed since
  • LinkedList (java.util)
    Doubly-linked list implementation of the List and Dequeinterfaces. Implements all optional list oper
  • NoSuchElementException (java.util)
    Thrown when trying to retrieve an element past the end of an Enumeration or Iterator.
  • ThreadPoolExecutor (java.util.concurrent)
    An ExecutorService that executes each submitted task using one of possibly several pooled threads, n
  • JarFile (java.util.jar)
    JarFile is used to read jar entries and their associated data from jar files.
  • Top Vim plugins
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