InternPool: avoid indexToKey recursion for type_enum_auto

Recursion makes this hot function more difficult to profile and
optimize.

This commit adds the integer tag type to the type_enum_auto encoding
even though the integer tag type can be inferred based on the number of
fields of the enum. This avoids a call to getAssumeExists of the integer
tag type inside indexToKey.
66f83f27a2Andrew Kelley committed on 6/11/2023, 3:47:57 AMparent27f1ad8
1 file changedLine totals unavailable