File tree Expand file tree Collapse file tree 4 files changed +6
-8
lines changed
graalpython/com.oracle.graal.python/src/com/oracle/graal/python
builtins/objects/cext/hpy Expand file tree Collapse file tree 4 files changed +6
-8
lines changed Original file line number Diff line number Diff line change @@ -57,6 +57,7 @@ public NativeSpaceArrayWrapper(GraalHPyHandleReference[] data) {
57
57
}
58
58
59
59
@ ExportMessage
60
+ @ SuppressWarnings ("static-method" )
60
61
boolean hasArrayElements () {
61
62
return true ;
62
63
}
@@ -80,4 +81,4 @@ Object readArrayElement(long i) {
80
81
// return something that responds to 'isNull' with 'true'
81
82
return PNone .NO_VALUE ;
82
83
}
83
- }
84
+ }
Original file line number Diff line number Diff line change @@ -101,10 +101,10 @@ public String getOperator() {
101
101
}
102
102
103
103
/**
104
- * A helper root node that dispatches to {@link LookupAndCallBinaryNode} to execute the
105
- * provided binary operator. This node is mostly useful to use such operators from a
106
- * location without a frame (e.g. from interop). Note: this is just a root node and won't do any
107
- * signature checking.
104
+ * A helper root node that dispatches to {@link LookupAndCallBinaryNode} to execute the provided
105
+ * binary operator. This node is mostly useful to use such operators from a location without a
106
+ * frame (e.g. from interop). Note: this is just a root node and won't do any signature
107
+ * checking.
108
108
*/
109
109
public static final class BinaryArithmeticExpression extends ExpressionNode {
110
110
@ Child private LookupAndCallBinaryNode callNode ;
Original file line number Diff line number Diff line change 47
47
import com .oracle .graal .python .builtins .objects .function .Signature ;
48
48
import com .oracle .graal .python .nodes .ErrorMessages ;
49
49
import com .oracle .graal .python .nodes .PRaiseNode ;
50
- import com .oracle .graal .python .nodes .PRootNode ;
51
50
import com .oracle .graal .python .nodes .SpecialMethodNames ;
52
- import com .oracle .graal .python .nodes .call .special .LookupAndCallUnaryNode ;
53
51
import com .oracle .graal .python .nodes .expression .BinaryArithmetic .CallBinaryArithmeticRootNode ;
54
52
import com .oracle .graal .python .nodes .expression .TernaryArithmetic .CallTernaryArithmeticRootNode ;
55
53
import com .oracle .graal .python .util .PythonUtils ;
Original file line number Diff line number Diff line change 48
48
import com .oracle .graal .python .nodes .ErrorMessages ;
49
49
import com .oracle .graal .python .nodes .PRaiseNode ;
50
50
import com .oracle .graal .python .nodes .SpecialMethodNames ;
51
- import com .oracle .graal .python .nodes .call .special .LookupAndCallBinaryNode ;
52
51
import com .oracle .graal .python .nodes .call .special .LookupAndCallUnaryNode ;
53
52
import com .oracle .graal .python .nodes .call .special .LookupAndCallUnaryNode .NoAttributeHandler ;
54
53
import com .oracle .graal .python .util .PythonUtils ;
You can’t perform that action at this time.
0 commit comments