From 3da8b08ecd57f5662bebc69ea73bf59e1928341e Mon Sep 17 00:00:00 2001 From: Abbas Mashayekh Date: Wed, 10 Feb 2021 01:17:28 +0330 Subject: [reference-types] remove single table restriction in IR (#3517) Adds support for modules with multiple tables. Adds a field for the table name to `CallIndirect` and updates the C/JS APIs accordingly. --- test/reference-types.wast.fromBinary.noDebugInfo | 34 ++++++++++++------------ 1 file changed, 17 insertions(+), 17 deletions(-) (limited to 'test/reference-types.wast.fromBinary.noDebugInfo') diff --git a/test/reference-types.wast.fromBinary.noDebugInfo b/test/reference-types.wast.fromBinary.noDebugInfo index 08186f32b..23c2bb03b 100644 --- a/test/reference-types.wast.fromBinary.noDebugInfo +++ b/test/reference-types.wast.fromBinary.noDebugInfo @@ -191,71 +191,71 @@ (call $2 (ref.func $3) ) - (call_indirect (type $externref_=>_none) + (call_indirect $0 (type $externref_=>_none) (local.get $1) (i32.const 0) ) - (call_indirect (type $externref_=>_none) + (call_indirect $0 (type $externref_=>_none) (global.get $global$0) (i32.const 0) ) - (call_indirect (type $externref_=>_none) + (call_indirect $0 (type $externref_=>_none) (ref.null extern) (i32.const 0) ) - (call_indirect (type $funcref_=>_none) + (call_indirect $0 (type $funcref_=>_none) (local.get $0) (i32.const 1) ) - (call_indirect (type $funcref_=>_none) + (call_indirect $0 (type $funcref_=>_none) (global.get $global$1) (i32.const 1) ) - (call_indirect (type $funcref_=>_none) + (call_indirect $0 (type $funcref_=>_none) (ref.null func) (i32.const 1) ) - (call_indirect (type $funcref_=>_none) + (call_indirect $0 (type $funcref_=>_none) (ref.func $3) (i32.const 1) ) - (call_indirect (type $anyref_=>_none) + (call_indirect $0 (type $anyref_=>_none) (local.get $2) (i32.const 3) ) - (call_indirect (type $anyref_=>_none) + (call_indirect $0 (type $anyref_=>_none) (global.get $global$3) (i32.const 3) ) - (call_indirect (type $anyref_=>_none) + (call_indirect $0 (type $anyref_=>_none) (ref.null any) (i32.const 3) ) - (call_indirect (type $anyref_=>_none) + (call_indirect $0 (type $anyref_=>_none) (local.get $1) (i32.const 3) ) - (call_indirect (type $anyref_=>_none) + (call_indirect $0 (type $anyref_=>_none) (global.get $global$0) (i32.const 3) ) - (call_indirect (type $anyref_=>_none) + (call_indirect $0 (type $anyref_=>_none) (ref.null extern) (i32.const 3) ) - (call_indirect (type $anyref_=>_none) + (call_indirect $0 (type $anyref_=>_none) (local.get $0) (i32.const 3) ) - (call_indirect (type $anyref_=>_none) + (call_indirect $0 (type $anyref_=>_none) (global.get $global$1) (i32.const 3) ) - (call_indirect (type $anyref_=>_none) + (call_indirect $0 (type $anyref_=>_none) (ref.null func) (i32.const 3) ) - (call_indirect (type $anyref_=>_none) + (call_indirect $0 (type $anyref_=>_none) (ref.func $3) (i32.const 3) ) -- cgit v1.2.3