Closed Elarnon closed 5 years ago
Since we now use
Arc
for representing parameters, this patch removes the last use of reference for them in codegen::Size and
codegen::Size
codegen::ParamVal. Removing the lifetimes in those two types simplifies
codegen::ParamVal
the lifetime constraints in the code generation phase, and allows to remove the two remaining uses of
unsafe
in that module that were (presumably) born out of frustration.
That's speculation ;)
Since we now use
Arc
for representing parameters, this patch removes the last use of reference for them in codegen::Size and codegen::ParamVal. Removing the lifetimes in those two types simplifies the lifetime constraints in the code generation phase, and allows to remove the two remaining uses ofunsafe
in that module that were (presumably) born out of frustration.