Files
wasmtime/cranelift/codegen
Ulrich Weigand 6b4e6523f7 [abi_impl] Respect extension for incoming stack arguments (#4576)
The gen_copy_arg_to_regs routine currently ignores argument extension
flags when loading incoming arguments.  This causes a problem with
stack arguments on big-endian systems, since the argument address
points to the word on the stack as extended by the caller, but the
generated code only loads the inner type from the address, causing
it to receive an incorrect value.  (This happens to work on little-
endian systems.)

Fixed by loading extended arguments as full words.
2022-08-02 13:54:13 -07:00
..
2021-10-10 14:19:08 +02:00
2022-07-07 12:54:39 -07:00

This crate contains the core Cranelift code generator. It translates code from an intermediate representation into executable machine code.