hls-llvm-project icon indicating copy to clipboard operation
hls-llvm-project copied to clipboard

Avoid `Field(...) = expr` when `expr` allocates

Open xclerc opened this issue 4 years ago • 0 comments

It is likely unsafe to use Field(...) = ... after caml_alloc_small if the right-hand side allocates. This pull requests replaces two occurrences of this pattern with calls to caml_alloc_some.

xclerc avatar Nov 19 '21 14:11 xclerc