Misc stuff, probably crashes
This commit is contained in:
@@ -196,7 +196,7 @@ GroundBytecode _GroundNewBytecode(GroundProgram* program, GroundState* state) {
|
||||
|
||||
// Copy constants into heap at their assigned offsets
|
||||
HASH_ITER(hh, state->variables, s, tmp) {
|
||||
bytecode.heap.heap[s->_offset] = Ground.Copy.Value(&s->value);
|
||||
bytecode.heap.heap[s->_offset] = Ground.New.BytecodeValue(Ground.Copy.Value(&s->value));
|
||||
if (Ground.Flags.error) return bytecode;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user