From 009991a78a472de8a6c101a1da5a33cbe8bee05c Mon Sep 17 00:00:00 2001 From: Yury Delendik Date: Mon, 30 Oct 2023 21:24:08 +0000 Subject: [PATCH] Bug 1860906 - Serialize CodeRangeUnwindInfos. r=rhunt Differential Revision: https://phabricator.services.mozilla.com/D191888 --- js/src/jit-test/tests/wasm/tail-calls/directives.txt | 2 +- js/src/wasm/WasmSerialize.cpp | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/js/src/jit-test/tests/wasm/tail-calls/directives.txt b/js/src/jit-test/tests/wasm/tail-calls/directives.txt index 1adfc82966a4..66e8161b9d04 100644 --- a/js/src/jit-test/tests/wasm/tail-calls/directives.txt +++ b/js/src/jit-test/tests/wasm/tail-calls/directives.txt @@ -1 +1 @@ -|jit-test| --wasm-tail-calls; test-also=--wasm-compiler=baseline; test-also=--wasm-compiler=ion; skip-if: !wasmTailCallsEnabled(); include:wasm.js +|jit-test| --wasm-tail-calls; test-also=--wasm-compiler=baseline; test-also=--wasm-compiler=ion; test-also=--wasm-test-serialization; skip-if: !wasmTailCallsEnabled(); include:wasm.js diff --git a/js/src/wasm/WasmSerialize.cpp b/js/src/wasm/WasmSerialize.cpp index 845cc5ffa66b..ecc496f9b12d 100644 --- a/js/src/wasm/WasmSerialize.cpp +++ b/js/src/wasm/WasmSerialize.cpp @@ -1041,6 +1041,7 @@ CoderResult CodeMetadataTier(Coder& coder, MOZ_TRY(CodePodVector(coder, &item->funcExports)); MOZ_TRY(CodeStackMaps(coder, &item->stackMaps, codeStart)); MOZ_TRY(CodePodVector(coder, &item->tryNotes)); + MOZ_TRY(CodePodVector(coder, &item->codeRangeUnwindInfos)); return Ok(); }