[code-reflection] RFR: Bitwise complement op

Paul Sandoz psandoz at openjdk.org
Wed Aug 14 22:52:25 UTC 2024


Lowering `~x` to bytecode generates the equivalent of `x ^ -1`, so the first lift and generation cycle will result in different bytecode.

-------------

Commit messages:
 - Bitwise complement op

Changes: https://git.openjdk.org/babylon/pull/216/files
  Webrev: https://webrevs.openjdk.org/?repo=babylon&pr=216&range=00
  Stats: 125 lines in 7 files changed: 118 ins; 2 del; 5 mod
  Patch: https://git.openjdk.org/babylon/pull/216.diff
  Fetch: git fetch https://git.openjdk.org/babylon.git pull/216/head:pull/216

PR: https://git.openjdk.org/babylon/pull/216


More information about the babylon-dev mailing list