Fix locel.set in polymorphic stack (#3135)

The issue was reported in #3123.
This commit is contained in:
Xu Jun 2024-02-05 17:41:33 +08:00 committed by GitHub
parent b8ff98c810
commit d6d5072cc6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -8906,7 +8906,6 @@ re_scan:
{
p_org = p - 1;
GET_LOCAL_INDEX_TYPE_AND_OFFSET();
POP_TYPE(local_type);
#if WASM_ENABLE_FAST_INTERP != 0
if (!(preserve_referenced_local(
@ -8963,6 +8962,7 @@ re_scan:
}
#endif
#endif /* end of WASM_ENABLE_FAST_INTERP != 0 */
POP_TYPE(local_type);
break;
}

View File

@ -6594,7 +6594,6 @@ re_scan:
{
p_org = p - 1;
GET_LOCAL_INDEX_TYPE_AND_OFFSET();
POP_TYPE(local_type);
#if WASM_ENABLE_FAST_INTERP != 0
if (!(preserve_referenced_local(
@ -6648,6 +6647,7 @@ re_scan:
}
#endif
#endif
POP_TYPE(local_type);
break;
}