diff options
Diffstat (limited to 'src/common.h')
-rw-r--r-- | src/common.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/common.h b/src/common.h index 3152e287..14db973f 100644 --- a/src/common.h +++ b/src/common.h @@ -226,11 +226,12 @@ typedef std::vector<Type> TypeVector; // Matches binary format, do not change. enum SegmentFlags : uint8_t { - SegIndexZero = 0, - SegPassive = 1, - SegIndexOther = 2, + SegFlagsNone = 0, + SegPassive = 1, // bit 0: Is passive + SegExplicitIndex = 2, // bit 1: Has explict index (Inplies table 0 if absent) + SegUseElemExprs = 4, // bit 2: Is elemexpr (Or else index sequence) - SegFlagMax = SegIndexOther, + SegFlagMax = SegUseElemExprs, }; enum class RelocType { |