Skip to content

Commit 61211e3

Browse files
committed
Remove PythonTernaryBuiltinNode#execute1
1 parent 17aa96d commit 61211e3

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

graalpython/com.oracle.graal.python/src/com/oracle/graal/python/nodes/function/builtins/PythonTernaryBuiltinNode.java

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2018, 2021, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2018, 2024, 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
@@ -45,9 +45,5 @@
4545

4646
public abstract class PythonTernaryBuiltinNode extends PythonBuiltinBaseNode {
4747

48-
public Object execute(VirtualFrame frame, Object arg, Object arg2, Object arg3) {
49-
return execute1(frame, arg, arg2, arg3);
50-
}
51-
52-
protected abstract Object execute1(VirtualFrame frame, Object arg, Object arg2, Object arg3);
48+
public abstract Object execute(VirtualFrame frame, Object arg, Object arg2, Object arg3);
5349
}

0 commit comments

Comments
 (0)