summaryrefslogtreecommitdiff
path: root/src/trans/codegen_c.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/trans/codegen_c.cpp')
-rw-r--r--src/trans/codegen_c.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/trans/codegen_c.cpp b/src/trans/codegen_c.cpp
index c30657bf..91138d14 100644
--- a/src/trans/codegen_c.cpp
+++ b/src/trans/codegen_c.cpp
@@ -1923,6 +1923,7 @@ namespace {
// Find the corresponding vtable entry
for(const auto& m : trait.m_value_indexes)
{
+ // NOTE: The "3" is the number of non-method vtable entries
if( m.second.first != 3+i )
continue ;