(self)
| 807 | ) |
| 808 | |
| 809 | def test_long_signed(self) -> None: |
| 810 | a = Register(int64_rprimitive, "a") |
| 811 | self.assert_emit( |
| 812 | Assign(a, Integer(-(1 << 31) + 1, int64_rprimitive)), """cpy_r_a = -2147483647;""" |
| 813 | ) |
| 814 | self.assert_emit( |
| 815 | Assign(a, Integer(-(1 << 31), int64_rprimitive)), """cpy_r_a = -2147483648LL;""" |
| 816 | ) |
| 817 | |
| 818 | def test_cast_and_branch_merge(self) -> None: |
| 819 | op = Cast(self.r, dict_rprimitive, 1) |
nothing calls this directly
no test coverage detected