mirror of
https://github.com/bytecodealliance/wasm-micro-runtime.git
synced 2025-05-13 21:21:22 +00:00
Fix locel.set in polymorphic stack (#3135)
The issue was reported in #3123.
This commit is contained in:
parent
b8ff98c810
commit
d6d5072cc6
|
@ -8906,7 +8906,6 @@ re_scan:
|
||||||
{
|
{
|
||||||
p_org = p - 1;
|
p_org = p - 1;
|
||||||
GET_LOCAL_INDEX_TYPE_AND_OFFSET();
|
GET_LOCAL_INDEX_TYPE_AND_OFFSET();
|
||||||
POP_TYPE(local_type);
|
|
||||||
|
|
||||||
#if WASM_ENABLE_FAST_INTERP != 0
|
#if WASM_ENABLE_FAST_INTERP != 0
|
||||||
if (!(preserve_referenced_local(
|
if (!(preserve_referenced_local(
|
||||||
|
@ -8963,6 +8962,7 @@ re_scan:
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
#endif /* end of WASM_ENABLE_FAST_INTERP != 0 */
|
#endif /* end of WASM_ENABLE_FAST_INTERP != 0 */
|
||||||
|
POP_TYPE(local_type);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -6594,7 +6594,6 @@ re_scan:
|
||||||
{
|
{
|
||||||
p_org = p - 1;
|
p_org = p - 1;
|
||||||
GET_LOCAL_INDEX_TYPE_AND_OFFSET();
|
GET_LOCAL_INDEX_TYPE_AND_OFFSET();
|
||||||
POP_TYPE(local_type);
|
|
||||||
|
|
||||||
#if WASM_ENABLE_FAST_INTERP != 0
|
#if WASM_ENABLE_FAST_INTERP != 0
|
||||||
if (!(preserve_referenced_local(
|
if (!(preserve_referenced_local(
|
||||||
|
@ -6648,6 +6647,7 @@ re_scan:
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
POP_TYPE(local_type);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user