Skip to content

Commit 4408192

Browse files
committed
Fix style
1 parent 649eeff commit 4408192

File tree

5 files changed

+2
-11
lines changed

5 files changed

+2
-11
lines changed

graalpython/com.oracle.graal.python/src/com/oracle/graal/python/builtins/modules/PythonCextBuiltins.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3002,7 +3002,6 @@ Object doIt(Object clazz, String name, PTuple mroTuple,
30023002
@GenerateNodeFactory
30033003
@TypeSystemReference(PythonTypes.class)
30043004
public abstract static class PyTruffle_FatalError extends PythonBuiltinNode {
3005-
private static final int SIGABRT_EXIT_CODE = 134;
30063005

30073006
@Specialization
30083007
Object doStrings(String prefix, String msg, int status) {

graalpython/com.oracle.graal.python/src/com/oracle/graal/python/builtins/objects/cext/capi/CExtNodes.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,6 @@
144144
import com.oracle.graal.python.runtime.exception.PythonErrorType;
145145
import com.oracle.graal.python.runtime.object.PythonObjectFactory;
146146
import com.oracle.graal.python.runtime.sequence.storage.MroSequenceStorage;
147-
import com.oracle.graal.python.util.OverflowException;
148147
import com.oracle.graal.python.util.PythonUtils;
149148
import com.oracle.truffle.api.Assumption;
150149
import com.oracle.truffle.api.CompilerAsserts;

graalpython/com.oracle.graal.python/src/com/oracle/graal/python/builtins/objects/cext/hpy/GraalHPyContext.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -940,7 +940,7 @@ private static Object[] createMembers(PythonContext context) {
940940
members[HPyContextMembers.CTX_BYTES_ASSTRING.ordinal()] = new GraalHPyBytesAsString();
941941
members[HPyContextMembers.CTX_BYTES_FROMSTRING.ordinal()] = new GraalHPyBytesFromStringAndSize(false);
942942
members[HPyContextMembers.CTX_BYTES_FROMSTRINGANDSIZE.ordinal()] = new GraalHPyBytesFromStringAndSize(true);
943-
943+
944944
members[HPyContextMembers.CTX_ERR_NOMEMORY.ordinal()] = new GraalHPyErrRaisePredefined(MemoryError);
945945
members[HPyContextMembers.CTX_ERR_SETSTRING.ordinal()] = new GraalHPyErrSetString(true);
946946
members[HPyContextMembers.CTX_ERR_SETOBJECT.ordinal()] = new GraalHPyErrSetString(false);

graalpython/com.oracle.graal.python/src/com/oracle/graal/python/builtins/objects/cext/hpy/GraalHPyDef.java

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -158,15 +158,8 @@ enum HPyFuncSignature {
158158
/** The corresponding C enum value. */
159159
private final int value;
160160

161-
private final HPySlotWrapper slotWrapper;
162-
163161
HPyFuncSignature(int value) {
164-
this(value, null);
165-
}
166-
167-
HPyFuncSignature(int value, HPySlotWrapper slotWrapper) {
168162
this.value = value;
169-
this.slotWrapper = slotWrapper;
170163
}
171164

172165
public int getValue() {

graalpython/com.oracle.graal.python/src/com/oracle/graal/python/builtins/objects/cext/hpy/GraalHPyHandle.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ Object readMember(String key) throws UnknownIdentifierException {
177177
}
178178
throw UnknownIdentifierException.create(key);
179179
}
180-
180+
181181
@ExportMessage
182182
boolean isNull() {
183183
return id == 0;

0 commit comments

Comments
 (0)