Holds function types as values, not ptrs in wasm.Module (#1227)
Signed-off-by: Takeshi Yoneda <takeshi@tetrate.io>
This commit is contained in:
@@ -30,7 +30,7 @@ func TestCompilationCache(t *testing.T) {
|
||||
// Create a different type id on the bar's store so that we can emulate that bar instantiated the module before facWasm.
|
||||
_, err := bar.store.GetFunctionTypeIDs(
|
||||
// Arbitrary one is fine as long as it is not used in facWasm.
|
||||
[]*wasm.FunctionType{{Params: []wasm.ValueType{
|
||||
[]wasm.FunctionType{{Params: []wasm.ValueType{
|
||||
wasm.ValueTypeI32, wasm.ValueTypeI32, wasm.ValueTypeI32, wasm.ValueTypeI32, wasm.ValueTypeI32, wasm.ValueTypeI32,
|
||||
wasm.ValueTypeI32, wasm.ValueTypeV128, wasm.ValueTypeI32, wasm.ValueTypeV128, wasm.ValueTypeI32, wasm.ValueTypeI32,
|
||||
wasm.ValueTypeI32, wasm.ValueTypeV128, wasm.ValueTypeI32, wasm.ValueTypeV128, wasm.ValueTypeI32, wasm.ValueTypeI32,
|
||||
|
||||
Reference in New Issue
Block a user