summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/binary-reader-ir.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/binary-reader-ir.cc b/src/binary-reader-ir.cc
index 49feb255..340b938d 100644
--- a/src/binary-reader-ir.cc
+++ b/src/binary-reader-ir.cc
@@ -1670,7 +1670,7 @@ Result BinaryReaderIR::OnTableSymbol(Index index,
uint32_t flags,
std::string_view name,
Index table_index) {
- return SetTableName(index, name);
+ return SetTableName(table_index, name);
}
} // end anonymous namespace