mirror of
https://github.com/superseriousbusiness/gotosocial
synced 2025-06-05 21:59:39 +02:00
[chore] Upgrade wasm-sqlite to v0.16.2 (#2997)
This commit is contained in:
7
vendor/github.com/tetratelabs/wazero/internal/wasm/func_validation.go
generated
vendored
7
vendor/github.com/tetratelabs/wazero/internal/wasm/func_validation.go
generated
vendored
@ -67,11 +67,6 @@ func (m *Module) validateFunctionWithMaxStackValues(
|
||||
declaredFunctionIndexes map[Index]struct{},
|
||||
br *bytes.Reader,
|
||||
) error {
|
||||
nonStaticLocals := make(map[Index]struct{})
|
||||
if len(m.NonStaticLocals) > 0 {
|
||||
m.NonStaticLocals[idx] = nonStaticLocals
|
||||
}
|
||||
|
||||
functionType := &m.TypeSection[m.FunctionSection[idx]]
|
||||
code := &m.CodeSection[idx]
|
||||
body := code.Body
|
||||
@ -357,7 +352,6 @@ func (m *Module) validateFunctionWithMaxStackValues(
|
||||
return fmt.Errorf("invalid local index for %s %d >= %d(=len(locals)+len(parameters))",
|
||||
OpcodeLocalSetName, index, l)
|
||||
}
|
||||
nonStaticLocals[index] = struct{}{}
|
||||
var expType ValueType
|
||||
if index < inputLen {
|
||||
expType = functionType.Params[index]
|
||||
@ -373,7 +367,6 @@ func (m *Module) validateFunctionWithMaxStackValues(
|
||||
return fmt.Errorf("invalid local index for %s %d >= %d(=len(locals)+len(parameters))",
|
||||
OpcodeLocalTeeName, index, l)
|
||||
}
|
||||
nonStaticLocals[index] = struct{}{}
|
||||
var expType ValueType
|
||||
if index < inputLen {
|
||||
expType = functionType.Params[index]
|
||||
|
Reference in New Issue
Block a user