Skip to content

Commit aa63200

Browse files
author
Michael Haas
committed
Small refactoring.
1 parent 883c911 commit aa63200

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

compiler/src/jdk.graal.compiler/src/jdk/graal/compiler/hotspot/nodes/InvokeJavaMethodNode.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
* state before the {@code acmp}'s pop operation. The call site resolution requires the BCI of the
4545
* {@code acmp} bytecode.</li>
4646
* </ul>
47-
* Compared to an {@link Invoke} node, the node is side-effect free and the call does not originate
47+
* Compared to an {@link Invoke} node, the node is side effect free and the call does not originate
4848
* from the associated bci. The target method must be static and is bound to the call site to
4949
* override the bytecode based call site resolution.
5050
*/
@@ -77,7 +77,7 @@ public void setTargetMethod(ResolvedJavaMethod targetMethod) {
7777
@Input protected NodeInputList<ValueNode> arguments;
7878

7979
private int bci;
80-
private ResolvedJavaMethod callerMethod;
80+
private final ResolvedJavaMethod callerMethod;
8181
private ResolvedJavaMethod targetMethod;
8282
private final CallTargetNode.InvokeKind invokeKind;
8383
private final StampPair returnStamp;

0 commit comments

Comments
 (0)