Skip to content

Commit f6b528c

Browse files
committed
fix style
1 parent cef43a7 commit f6b528c

File tree

4 files changed

+11
-11
lines changed

4 files changed

+11
-11
lines changed

graalpython/com.oracle.graal.python/src/com/oracle/graal/python/builtins/objects/PEllipsis.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2018, 2019, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* The Universal Permissive License (UPL), Version 1.0

graalpython/com.oracle.graal.python/src/com/oracle/graal/python/builtins/objects/PNotImplemented.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2017, 2018, Oracle and/or its affiliates.
2+
* Copyright (c) 2017, 2019, Oracle and/or its affiliates.
33
* Copyright (c) 2013, Regents of the University of California
44
*
55
* All rights reserved.

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

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -189,9 +189,9 @@ public static Assumption getSingleContextAssumption() {
189189

190190
@Specialization(guards = "object == cachedObject", limit = "1", assumptions = "singleContextAssumption")
191191
public static PythonAbstractClass getNativeClassCachedIdentity(PythonAbstractNativeObject object,
192-
@Shared("assumption") @Cached(value = "getSingleContextAssumption()") Assumption singleContextAssumption,
193-
@Exclusive @Cached("object") PythonAbstractNativeObject cachedObject,
194-
@Exclusive @Cached("getNativeClassUncached(cachedObject)") PythonAbstractClass cachedClass) {
192+
@Shared("assumption") @Cached(value = "getSingleContextAssumption()") Assumption singleContextAssumption,
193+
@Exclusive @Cached("object") PythonAbstractNativeObject cachedObject,
194+
@Exclusive @Cached("getNativeClassUncached(cachedObject)") PythonAbstractClass cachedClass) {
195195
// TODO: (tfel) is this really something we can do? It's so rare for this class to
196196
// change that it shouldn't be worth the effort, but in native code, anything can
197197
// happen. OTOH, CPython also has caches that can become invalid when someone just
@@ -201,17 +201,17 @@ public static PythonAbstractClass getNativeClassCachedIdentity(PythonAbstractNat
201201

202202
@Specialization(guards = "cachedObject.equals(object)", limit = "1", assumptions = "singleContextAssumption")
203203
public static PythonAbstractClass getNativeClassCached(PythonAbstractNativeObject object,
204-
@Shared("assumption") @Cached(value = "getSingleContextAssumption()") Assumption singleContextAssumption,
205-
@Exclusive @Cached("object") PythonAbstractNativeObject cachedObject,
206-
@Exclusive @Cached("getNativeClassUncached(cachedObject)") PythonAbstractClass cachedClass) {
204+
@Shared("assumption") @Cached(value = "getSingleContextAssumption()") Assumption singleContextAssumption,
205+
@Exclusive @Cached("object") PythonAbstractNativeObject cachedObject,
206+
@Exclusive @Cached("getNativeClassUncached(cachedObject)") PythonAbstractClass cachedClass) {
207207
// TODO same as for 'getNativeClassCachedIdentity'
208208
return cachedClass;
209209
}
210210

211211
@Specialization(replaces = {"getNativeClassCached", "getNativeClassCachedIdentity"})
212212
public static PythonAbstractClass getNativeClass(PythonAbstractNativeObject object,
213-
@Exclusive @Cached PCallCapiFunction callGetObTypeNode,
214-
@Exclusive @Cached ToJavaNode toJavaNode) {
213+
@Exclusive @Cached PCallCapiFunction callGetObTypeNode,
214+
@Exclusive @Cached ToJavaNode toJavaNode) {
215215
// do not convert wrap 'object.object' since that is really the native pointer
216216
// object
217217
return (PythonAbstractClass) toJavaNode.execute(callGetObTypeNode.call(FUN_GET_OB_TYPE, object.getPtr()));

graalpython/com.oracle.graal.python/src/com/oracle/graal/python/nodes/expression/IsExpressionNode.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ public static IsExpressionNode create(ExpressionNode left, ExpressionNode right)
5959

6060
@Specialization
6161
boolean doIt(Object left, Object right,
62-
@Cached IsNode isNode) {
62+
@Cached IsNode isNode) {
6363
return isNode.execute(left, right);
6464
}
6565

0 commit comments

Comments
 (0)