Do not allocate a second "background" alloc id for the main allocation of a static.
Instead we re-use the static's alloc id within the interpreter for its initializer to refer to the `Allocation` that only exists within the interpreter.
This commit is contained in:
parent
e2386270df
commit
73b38c661d
19 changed files with 262 additions and 102 deletions
|
@ -313,6 +313,8 @@ const_eval_realloc_or_alloc_with_offset =
|
|||
*[other] {""}
|
||||
} {$ptr} which does not point to the beginning of an object
|
||||
|
||||
const_eval_recursive_static = encountered static that tried to initialize itself with itself
|
||||
|
||||
const_eval_remainder_by_zero =
|
||||
calculating the remainder with a divisor of zero
|
||||
const_eval_remainder_overflow =
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue