summaryrefslogtreecommitdiff
path: root/src/common.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/common.h')
-rw-r--r--src/common.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/common.h b/src/common.h
index 49c1ce60..913693fc 100644
--- a/src/common.h
+++ b/src/common.h
@@ -225,9 +225,10 @@ enum class RelocType {
GlobalIndexLEB = 7, // e.g. Immediate of get_global inst
FunctionOffsetI32 = 8, // e.g. Code offset in DWARF metadata
SectionOffsetI32 = 9, // e.g. Section offset in DWARF metadata
+ EventIndexLEB = 10, // e.g. Used in throw instructions
First = FuncIndexLEB,
- Last = SectionOffsetI32,
+ Last = EventIndexLEB,
};
static const int kRelocTypeCount = WABT_ENUM_COUNT(RelocType);