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 2ae82315..d17751c1 100644 --- a/src/binary-reader.cc +++ b/src/binary-reader.cc @@ -1205,9 +1205,9 @@ Result BinaryReader::ReadRelocSection(Offset section_size) { CHECK_RESULT(ReadIndex(&index, "index")); RelocType type = static_cast<RelocType>(reloc_type); switch (type) { - case RelocType::GlobalAddressLEB: - case RelocType::GlobalAddressSLEB: - case RelocType::GlobalAddressI32: + case RelocType::MemoryAddressLEB: + case RelocType::MemoryAddressSLEB: + case RelocType::MemoryAddressI32: CHECK_RESULT(ReadI32Leb128(&addend, "addend")); break; default: |