Skip to content

Commit 01c4edb

Browse files
committed
fix style
1 parent f46e980 commit 01c4edb

File tree

2 files changed

+12
-10
lines changed

2 files changed

+12
-10
lines changed

graalpython/com.oracle.graal.python/src/com/oracle/graal/python/nodes/call/CallNode.java

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -84,10 +84,9 @@ public static CallNode getUncached() {
8484
protected abstract Object executeInternal(Frame frame, Object callableObject, Object[] arguments, PKeyword[] keywords);
8585

8686
/**
87-
* To be used when this node is called uncached or when no frame is
88-
* available. Note that the current thread state will be read from the
89-
* context, so calls through this entry point are potentially slower than if
90-
* a frame is available.
87+
* To be used when this node is called uncached or when no frame is available. Note that the
88+
* current thread state will be read from the context, so calls through this entry point are
89+
* potentially slower than if a frame is available.
9190
*/
9291
public final Object execute(Object callableObject, Object[] arguments, PKeyword[] keywords) {
9392
return executeInternal(null, callableObject, arguments, keywords);
@@ -199,7 +198,7 @@ protected Object builtinFunctionCall(VirtualFrame frame, PBuiltinFunction callab
199198
}
200199

201200
@Specialization(replaces = {"doObjectAndType", "decoratedMethodCall", "methodCallBuiltinDirect", "methodCallDirect", "builtinMethodCallDirect", "builtinMethodCallBuiltinDirectCached",
202-
"builtinMethodCallBuiltinDirect", "methodCall", "builtinMethodCall", "functionCall", "builtinFunctionCall"})
201+
"builtinMethodCallBuiltinDirect", "methodCall", "builtinMethodCall", "functionCall", "builtinFunctionCall"})
203202
protected Object doGeneric(VirtualFrame frame, Object callableObject, Object[] arguments, PKeyword[] keywords,
204203
@Shared("dispatchNode") @Cached CallDispatchNode dispatch,
205204
@Shared("argsNode") @Cached CreateArgumentsNode createArgs,

graalpython/com.oracle.graal.python/src/com/oracle/graal/python/nodes/call/GenericInvokeNode.java

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,8 @@ protected GenericInvokeNode() {
7676
* To be used when this node is called adopted.
7777
*
7878
* @param frame - the current frame
79-
* @param callee - either a {@link PFunction}, {@link PBuiltinFunction}, or {@link RootCallTarget}.
79+
* @param callee - either a {@link PFunction}, {@link PBuiltinFunction}, or
80+
* {@link RootCallTarget}.
8081
* @param arguments - the complete (runtime + user) frame arguments for the call
8182
*/
8283
public final Object execute(VirtualFrame frame, Object callee, Object[] arguments) {
@@ -87,10 +88,12 @@ public final Object execute(VirtualFrame frame, Object callee, Object[] argument
8788
protected abstract Object executeInternal(Frame frame, Object callee, Object[] arguments);
8889

8990
/**
90-
* Can be used when this node is called unadopted or from a place where no
91-
* frame is available. However, it will be slower than passing a frame,
92-
* because the threadstate is read from the Python context.
93-
* @param callee - either a {@link PFunction}, {@link PBuiltinFunction}, or {@link RootCallTarget}.
91+
* Can be used when this node is called unadopted or from a place where no frame is available.
92+
* However, it will be slower than passing a frame, because the threadstate is read from the
93+
* Python context.
94+
*
95+
* @param callee - either a {@link PFunction}, {@link PBuiltinFunction}, or
96+
* {@link RootCallTarget}.
9497
* @param arguments - the complete (runtime + user) frame arguments for the call
9598
*/
9699
public final Object execute(Object callee, Object[] arguments) {

0 commit comments

Comments
 (0)