diff options
Diffstat (limited to 'src/binary-reader.cc')
-rw-r--r-- | src/binary-reader.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/binary-reader.cc b/src/binary-reader.cc index bc083bbe..920138cb 100644 --- a/src/binary-reader.cc +++ b/src/binary-reader.cc @@ -998,9 +998,9 @@ static void read_reloc_section(Context* ctx, uint32_t section_size) { in_u32_leb128(ctx, &index, "index"); RelocType type = static_cast<RelocType>(reloc_type); switch (type) { - case RelocType::MemoryAddressLEB: - case RelocType::MemoryAddressSLEB: - case RelocType::MemoryAddressI32: + case RelocType::GlobalAddressLEB: + case RelocType::GlobalAddressSLEB: + case RelocType::GlobalAddressI32: in_i32_leb128(ctx, &addend, "addend"); break; default: |