Skip to content
Snippets Groups Projects
Commit 5dea7703 authored by stepan's avatar stepan
Browse files

Add TruffleBoundary to getErrorContext

parent 9770d9d9
No related branches found
No related tags found
No related merge requests found
......@@ -24,6 +24,7 @@ package com.oracle.truffle.r.nodes.builtin;
import com.oracle.truffle.api.CompilerDirectives;
import com.oracle.truffle.api.CompilerDirectives.CompilationFinal;
import com.oracle.truffle.api.CompilerDirectives.TruffleBoundary;
import com.oracle.truffle.api.dsl.GeneratedBy;
import com.oracle.truffle.api.dsl.TypeSystemReference;
import com.oracle.truffle.api.frame.VirtualFrame;
......@@ -107,6 +108,7 @@ public abstract class RBuiltinNode extends RBuiltinBaseNode implements NodeWithA
}
@Override
@TruffleBoundary
public RBaseNode getErrorContext() {
ErrorContext context = RError.contextForBuiltin(getRBuiltin());
return context == null ? this : context;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment