File tree Expand file tree Collapse file tree 8 files changed +3
-12
lines changed
graalpython/com.oracle.graal.python/src/com/oracle/graal/python Expand file tree Collapse file tree 8 files changed +3
-12
lines changed Original file line number Diff line number Diff line change 78
78
import com .oracle .truffle .api .CompilerDirectives .CompilationFinal ;
79
79
import com .oracle .truffle .api .CompilerDirectives .TruffleBoundary ;
80
80
import com .oracle .truffle .api .ContextThreadLocal ;
81
- import com .oracle .truffle .api .CompilerDirectives .CompilationFinal ;
82
- import com .oracle .truffle .api .CompilerDirectives .TruffleBoundary ;
83
81
import com .oracle .truffle .api .RootCallTarget ;
84
82
import com .oracle .truffle .api .Truffle ;
85
83
import com .oracle .truffle .api .TruffleFile ;
Original file line number Diff line number Diff line change 48
48
import com .oracle .graal .python .builtins .CoreFunctions ;
49
49
import com .oracle .graal .python .builtins .PythonBuiltins ;
50
50
import com .oracle .graal .python .builtins .objects .dict .PDict ;
51
- import com .oracle .graal .python .builtins .objects .ints .PInt ;
52
51
import com .oracle .graal .python .builtins .objects .module .PythonModule ;
53
52
import com .oracle .graal .python .nodes .attributes .ReadAttributeFromObjectNode ;
54
53
import com .oracle .graal .python .nodes .function .PythonBuiltinBaseNode ;
55
54
import com .oracle .graal .python .nodes .function .PythonBuiltinNode ;
56
55
import com .oracle .graal .python .runtime .PythonCore ;
57
- import com .oracle .graal .python .runtime .PythonOptions ;
58
56
import com .oracle .truffle .api .dsl .Cached ;
59
57
import com .oracle .truffle .api .dsl .GenerateNodeFactory ;
60
58
import com .oracle .truffle .api .dsl .NodeFactory ;
Original file line number Diff line number Diff line change 37
37
import com .oracle .graal .python .util .BufferFormat ;
38
38
import com .oracle .graal .python .util .OverflowException ;
39
39
import com .oracle .graal .python .util .PythonUtils ;
40
- import com .oracle .truffle .api .CompilerDirectives ;
41
40
import com .oracle .truffle .api .dsl .Cached ;
42
41
import com .oracle .truffle .api .dsl .Cached .Exclusive ;
43
42
import com .oracle .truffle .api .library .ExportLibrary ;
Original file line number Diff line number Diff line change @@ -77,6 +77,7 @@ public PKeyword[] getStore() {
77
77
return keywords ;
78
78
}
79
79
80
+ @ Override
80
81
@ ExportMessage
81
82
public int length () {
82
83
return keywords .length ;
Original file line number Diff line number Diff line change 45
45
import com .oracle .graal .python .builtins .objects .object .PythonObjectLibrary ;
46
46
import com .oracle .graal .python .nodes .PConstructAndRaiseNode ;
47
47
import com .oracle .graal .python .nodes .util .CastToJavaIntExactNode ;
48
+ import com .oracle .graal .python .runtime .GilNode ;
48
49
import com .oracle .graal .python .runtime .PosixSupportLibrary ;
49
50
import com .oracle .graal .python .runtime .PosixSupportLibrary .PosixException ;
50
51
import com .oracle .graal .python .runtime .PythonContext ;
51
- import com .oracle .graal .python .nodes .util .ChannelNodes .ReadFromChannelNode ;
52
- import com .oracle .graal .python .runtime .GilNode ;
53
- import com .oracle .graal .python .runtime .sequence .storage .ByteSequenceStorage ;
54
- import com .oracle .truffle .api .CompilerDirectives .TruffleBoundary ;
55
52
import com .oracle .truffle .api .dsl .Cached ;
56
53
import com .oracle .truffle .api .dsl .Cached .Exclusive ;
57
54
import com .oracle .truffle .api .dsl .Cached .Shared ;
Original file line number Diff line number Diff line change 75
75
import com .oracle .graal .python .nodes .function .builtins .PythonTernaryClinicBuiltinNode ;
76
76
import com .oracle .graal .python .nodes .function .builtins .PythonUnaryBuiltinNode ;
77
77
import com .oracle .graal .python .nodes .function .builtins .clinic .ArgumentClinicProvider ;
78
- import com .oracle .graal .python .nodes .truffle .PythonArithmeticTypes ;
79
78
import com .oracle .graal .python .runtime .GilNode ;
80
79
import com .oracle .graal .python .runtime .exception .PythonErrorType ;
81
80
import com .oracle .graal .python .runtime .sequence .storage .SequenceStorage ;
Original file line number Diff line number Diff line change 40
40
import com .oracle .graal .python .nodes .util .ExceptionStateNodes .ExceptionState ;
41
41
import com .oracle .graal .python .nodes .util .ExceptionStateNodes .SetCaughtExceptionNode ;
42
42
import com .oracle .graal .python .runtime .GilNode ;
43
- import com .oracle .graal .python .runtime .PythonOptions ;
44
43
import com .oracle .graal .python .runtime .exception .ExceptionHandledException ;
45
44
import com .oracle .graal .python .runtime .exception .PException ;
46
45
import com .oracle .graal .python .runtime .interop .InteropArray ;
Original file line number Diff line number Diff line change @@ -219,7 +219,7 @@ public final Shape getShape(Object cls) {
219
219
return executeGetShape (cls , true );
220
220
}
221
221
222
- public synchronized final <T > T trace (T allocatedObject ) {
222
+ public final synchronized <T > T trace (T allocatedObject ) {
223
223
executeTrace (allocatedObject , AllocationReporter .SIZE_UNKNOWN );
224
224
return allocatedObject ;
225
225
}
You can’t perform that action at this time.
0 commit comments