commit 3228c9044b3074c8b86410213e7404a3dbdbabf9
parent 4ee9ef26147c6f117cc7902abd2690f7ea41ee4a
Author: Drew DeVault <sir@cmpwn.com>
Date: Wed, 4 Aug 2021 10:59:43 +0200
gen: temporarily use memcpy for array/string
Signed-off-by: Drew DeVault <sir@cmpwn.com>
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/gen.c b/src/gen.c
@@ -81,7 +81,8 @@ gen_store(struct gen_context *ctx,
case STORAGE_ARRAY:
case STORAGE_SLICE:
case STORAGE_STRING:
- assert(0); // TODO
+ gen_copy_memcpy(ctx, object, value); // TODO
+ return;
case STORAGE_STRUCT:
gen_copy_struct(ctx, object, value);
return;