mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-05 11:37:46 +00:00
aa914bea5c
createDefer builds an LLVM struct containing the deferred function and its arguments. createRunDefers separately reconstructs the same struct type before loading the fields. Keep each LLVM value together with its type while building a deferred call record, and load all argument fields through one helper. This removes the duplicate lists of field types and field loads.