File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed
graalpython/com.oracle.graal.python/src/com/oracle/graal/python/runtime Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change 30
30
import com .oracle .graal .python .nodes .ErrorMessages ;
31
31
import com .oracle .graal .python .nodes .PNode ;
32
32
import com .oracle .graal .python .util .PythonUtils ;
33
+ import com .oracle .truffle .api .CompilerDirectives .TruffleBoundary ;
33
34
import com .oracle .truffle .api .exception .AbstractTruffleException ;
34
35
import com .oracle .truffle .api .frame .Frame ;
35
36
import com .oracle .truffle .api .interop .ExceptionType ;
@@ -198,6 +199,7 @@ boolean hasSourceLocation() {
198
199
}
199
200
200
201
@ ExportMessage (name = "getSourceLocation" )
202
+ @ TruffleBoundary
201
203
SourceSection getExceptionSourceLocation () {
202
204
if (line > 0 && line < source .getLineCount ()) {
203
205
return source .createSection (line );
You can’t perform that action at this time.
0 commit comments