From 20e69ecc6e51d5ff1b6656fb7fe756abc3313ca9 Mon Sep 17 00:00:00 2001 From: YAMAMOTO Takashi Date: Mon, 10 Jul 2023 21:26:09 +0900 Subject: [PATCH] type.h: add a revisit comment --- lib/type.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/type.h b/lib/type.h index d663f2e3..e6bed3b7 100644 --- a/lib/type.h +++ b/lib/type.h @@ -446,6 +446,10 @@ struct globalinst { const struct globaltype *type; }; +/* + * REVISIT: as tables can only have reference types, + * it isn't really worth to have the cell overhead. + */ struct tableinst { struct cell *cells; uint32_t size; /* overrides type->min */