Only generate a single trap to reduce code size and complexity in call_indirect
This commit is contained in:
@@ -299,7 +299,7 @@ impl VmCtx {
|
||||
}
|
||||
|
||||
pub fn offset_of_funcs_len() -> usize {
|
||||
offset_of!(Self, table.ptr)
|
||||
offset_of!(Self, table.len)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user