From 549b0f45be3749fd5f612a2eb225ca1cc40081a6 Mon Sep 17 00:00:00 2001 From: Alon Zakai Date: Thu, 23 Feb 2023 10:58:59 -0800 Subject: [wasm-ctor-eval] Stop evalling at table.set for now (#5516) Until we get full support for serializing table changes, stop evalling so we do not break things. --- src/tools/wasm-ctor-eval.cpp | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/tools/wasm-ctor-eval.cpp') diff --git a/src/tools/wasm-ctor-eval.cpp b/src/tools/wasm-ctor-eval.cpp index 561b08cfc..d41094c67 100644 --- a/src/tools/wasm-ctor-eval.cpp +++ b/src/tools/wasm-ctor-eval.cpp @@ -73,6 +73,13 @@ public: return ModuleRunnerBase::visitGlobalGet(curr); } + + Flow visitTableSet(TableSet* curr) { + // TODO: Full dynamic table support. For now we stop evalling when we see a + // table.set. (To support this we need to track sets and add code to + // serialize them.) + throw FailToEvalException("table.set: TODO"); + } }; // Build an artificial `env` module based on a module's imports, so that the -- cgit v1.2.3