Skip to content
  • Rui Ueyama's avatar
    Handle a function returning bool, char or short · 76bc2025
    Rui Ueyama authored
    x86-64 psABI says that only the least significant 8 bits are
    significant if RAX has a return value of a function returning bool.
    Likewise, it looks like only the least significant 1 or 2 bytes
    are guaranteed to have a correct value for char and short return
    values, respectively.
    76bc2025