Skip to content

Commit

Permalink
import_object_create_for_exports: add a missing case for tag
Browse files Browse the repository at this point in the history
  • Loading branch information
yamt committed Jun 20, 2024
1 parent b00d2c0 commit 2569e8b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lib/import_object.c
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,11 @@ import_object_create_for_exports(struct mem_context *mctx,
case EXTERNTYPE_GLOBAL:
e->u.global = VEC_ELEM(inst->globals, d->idx);
break;
#if defined(TOYWASM_ENABLE_WASM_EXCEPTION_HANDLING)
case EXTERNTYPE_TAG:
e->u.tag = VEC_ELEM(inst->tags, d->idx);
break;
#endif
default:
assert(false);
}
Expand Down

0 comments on commit 2569e8b

Please sign in to comment.