summaryrefslogtreecommitdiff
path: root/src/common.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/common.h')
-rw-r--r--src/common.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/common.h b/src/common.h
index 0b909b88..40be6e34 100644
--- a/src/common.h
+++ b/src/common.h
@@ -139,9 +139,9 @@ enum class RelocType {
FuncIndexLEB = 0, /* e.g. immediate of call instruction */
TableIndexSLEB = 1, /* e.g. loading address of function */
TableIndexI32 = 2, /* e.g. function address in DATA */
- MemoryAddressLEB = 3,
- MemoryAddressSLEB = 4,
- MemoryAddressI32 = 5,
+ GlobalAddressLEB = 3,
+ GlobalAddressSLEB = 4,
+ GlobalAddressI32 = 5,
TypeIndexLEB = 6, /* e.g immediate type in call_indirect */
GlobalIndexLEB = 7, /* e.g immediate of get_global inst */