From ef686a4d932b9b86edc34a3b9b15926f943f6f7b Mon Sep 17 00:00:00 2001 From: Max Graey Date: Sat, 9 Oct 2021 05:26:08 +0300 Subject: Add table.size operation (#4224) --- src/wasm/wasm.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/wasm/wasm.cpp') diff --git a/src/wasm/wasm.cpp b/src/wasm/wasm.cpp index 4975f4597..c42a1089d 100644 --- a/src/wasm/wasm.cpp +++ b/src/wasm/wasm.cpp @@ -857,6 +857,10 @@ void TableSet::finalize() { } } +void TableSize::finalize() { + // Nothing to do - the type must have been set already during construction. +} + void Try::finalize() { // If none of the component bodies' type is a supertype of the others, assume // the current type is already correct. TODO: Calculate a proper LUB. -- cgit v1.2.3