|
73 | 73 | import static com.oracle.graal.python.nodes.SpecialMethodNames.J___RDIVMOD__;
|
74 | 74 | import static com.oracle.graal.python.nodes.SpecialMethodNames.J___REPR__;
|
75 | 75 | import static com.oracle.graal.python.nodes.SpecialMethodNames.J___RFLOORDIV__;
|
| 76 | +import static com.oracle.graal.python.nodes.SpecialMethodNames.J___RLSHIFT__; |
76 | 77 | import static com.oracle.graal.python.nodes.SpecialMethodNames.J___RMUL__;
|
77 | 78 | import static com.oracle.graal.python.nodes.SpecialMethodNames.J___ROR__;
|
78 | 79 | import static com.oracle.graal.python.nodes.SpecialMethodNames.J___ROUND__;
|
79 | 80 | import static com.oracle.graal.python.nodes.SpecialMethodNames.J___RPOW__;
|
| 81 | +import static com.oracle.graal.python.nodes.SpecialMethodNames.J___RRSHIFT__; |
80 | 82 | import static com.oracle.graal.python.nodes.SpecialMethodNames.J___RSHIFT__;
|
81 | 83 | import static com.oracle.graal.python.nodes.SpecialMethodNames.J___RSUB__;
|
82 | 84 | import static com.oracle.graal.python.nodes.SpecialMethodNames.J___RTRUEDIV__;
|
@@ -1518,6 +1520,7 @@ static BigInteger not(BigInteger value) {
|
1518 | 1520 | }
|
1519 | 1521 |
|
1520 | 1522 | @Builtin(name = J___LSHIFT__, minNumOfPositionalArgs = 2)
|
| 1523 | + @Builtin(name = J___RLSHIFT__, minNumOfPositionalArgs = 2, reverseOperation = true) |
1521 | 1524 | @GenerateNodeFactory
|
1522 | 1525 | @TypeSystemReference(PythonArithmeticTypes.class)
|
1523 | 1526 | public abstract static class LShiftNode extends PythonBinaryBuiltinNode {
|
@@ -1721,6 +1724,7 @@ public static LShiftNode create() {
|
1721 | 1724 | }
|
1722 | 1725 |
|
1723 | 1726 | @Builtin(name = J___RSHIFT__, minNumOfPositionalArgs = 2)
|
| 1727 | + @Builtin(name = J___RRSHIFT__, minNumOfPositionalArgs = 2, reverseOperation = true) |
1724 | 1728 | @TypeSystemReference(PythonArithmeticTypes.class)
|
1725 | 1729 | @GenerateNodeFactory
|
1726 | 1730 | public abstract static class RShiftNode extends PythonBinaryBuiltinNode {
|
|
0 commit comments