BuiltinDecls no longer have access to the Register, but simply just get the current Value and must return (Value, error). This seems to be cleaner, since it doesn't really need to know about the Register.
(Register).Set still exists but only as syntactic sugar.
(Register).SetAsync is used explicitly when the value is only derived from a callback.
Should speed up any build using multiple images, and any future instruction that have asynchronous tasks (like codegen imports).
BuiltinDecls no longer have access to the
Register
, but simply just get the currentValue
and must return(Value, error)
. This seems to be cleaner, since it doesn't really need to know about theRegister
.(Register).Set
still exists but only as syntactic sugar.(Register).SetAsync
is used explicitly when the value is only derived from a callback.Should speed up any build using multiple images, and any future instruction that have asynchronous tasks (like codegen imports).