Skip to content

Commit

Permalink
type.h: add a revisit comment
Browse files Browse the repository at this point in the history
  • Loading branch information
yamt committed Jul 10, 2023
1 parent fdb32c7 commit 20e69ec
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/type.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit 20e69ec

Please sign in to comment.