File tree Expand file tree Collapse file tree 4 files changed +9
-0
lines changed
graalpython/com.oracle.graal.python/src/com/oracle/graal/python/builtins/objects Expand file tree Collapse file tree 4 files changed +9
-0
lines changed Original file line number Diff line number Diff line change 71
71
import com .oracle .graal .python .runtime .object .PythonObjectFactory ;
72
72
import com .oracle .truffle .api .CompilerDirectives .TruffleBoundary ;
73
73
import com .oracle .truffle .api .RootCallTarget ;
74
+ import com .oracle .truffle .api .interop .InteropLibrary ;
74
75
import com .oracle .truffle .api .interop .UnsupportedMessageException ;
76
+ import com .oracle .truffle .api .library .ExportLibrary ;
75
77
import com .oracle .truffle .api .library .ExportMessage ;
76
78
import com .oracle .truffle .api .nodes .Node ;
77
79
import com .oracle .truffle .api .nodes .NodeUtil ;
80
82
import com .oracle .truffle .api .object .Shape ;
81
83
import com .oracle .truffle .api .source .SourceSection ;
82
84
85
+ @ ExportLibrary (InteropLibrary .class )
83
86
public final class PCode extends PythonBuiltinObject {
84
87
static final String [] EMPTY_STRINGS = new String [0 ];
85
88
static final long FLAG_VAR_ARGS = 0x4 ;
Original file line number Diff line number Diff line change 44
44
import com .oracle .truffle .api .dsl .Cached ;
45
45
import com .oracle .truffle .api .dsl .Cached .Shared ;
46
46
import com .oracle .truffle .api .frame .VirtualFrame ;
47
+ import com .oracle .truffle .api .interop .InteropLibrary ;
47
48
import com .oracle .truffle .api .interop .UnsupportedMessageException ;
48
49
import com .oracle .truffle .api .library .ExportLibrary ;
49
50
import com .oracle .truffle .api .library .ExportMessage ;
50
51
import com .oracle .truffle .api .nodes .RootNode ;
51
52
import com .oracle .truffle .api .profiles .ConditionProfile ;
52
53
import com .oracle .truffle .api .source .SourceSection ;
53
54
55
+ @ ExportLibrary (InteropLibrary .class )
54
56
@ ExportLibrary (PythonObjectLibrary .class )
55
57
public class PFunction extends PythonObject {
56
58
private static final Object [] EMPTY_DEFAULTS = new Object [0 ];
Original file line number Diff line number Diff line change 36
36
import com .oracle .graal .python .util .OverflowException ;
37
37
import com .oracle .truffle .api .CompilerDirectives ;
38
38
import com .oracle .truffle .api .dsl .Cached ;
39
+ import com .oracle .truffle .api .interop .InteropLibrary ;
39
40
import com .oracle .truffle .api .interop .InvalidArrayIndexException ;
40
41
import com .oracle .truffle .api .interop .UnsupportedMessageException ;
42
+ import com .oracle .truffle .api .library .ExportLibrary ;
41
43
import com .oracle .truffle .api .library .ExportMessage ;
42
44
import com .oracle .truffle .api .library .ExportMessage .Ignore ;
43
45
import com .oracle .truffle .api .nodes .UnexpectedResultException ;
44
46
import com .oracle .truffle .api .object .Shape ;
45
47
import com .oracle .truffle .api .source .SourceSection ;
46
48
49
+ @ ExportLibrary (InteropLibrary .class )
47
50
public final class PList extends PSequence {
48
51
private final ListLiteralNode origin ;
49
52
private SequenceStorage store ;
Original file line number Diff line number Diff line change 38
38
import com .oracle .truffle .api .object .Shape ;
39
39
import com .oracle .truffle .api .source .SourceSection ;
40
40
41
+ @ ExportLibrary (InteropLibrary .class )
41
42
@ ExportLibrary (PythonObjectLibrary .class )
42
43
public final class PMethod extends PythonBuiltinObject {
43
44
You can’t perform that action at this time.
0 commit comments