Values being stored should be owned, and the value loaded from an input is not owned. In order to create an owned string you should call Copy and then store the resulting value.
Additionally, the null-ness of the string isn't respected, you can't operate over (things like calling Copy, for example) a null string so basic blocks/branches/jumps should be used in order to only perform cloning and such over strings when they're not null
The code generated for the jit is invalid and doesn't properly respect strings, e.g.
Values being stored should be owned, and the value loaded from an input is not owned. In order to create an owned string you should call
Copy
and then store the resulting value. Additionally, the null-ness of the string isn't respected, you can't operate over (things like callingCopy
, for example) a null string so basic blocks/branches/jumps should be used in order to only perform cloning and such over strings when they're not null