-
Jakob Kummerow authored
This CL addresses two problems: - the previous implementation of the large-function TF bailout didn't work for streaming compilation, because it tried to look at the size of wire bytes that weren't yet available. Moving the logic so it gets executed later ensures that the function size is available. - module serialization currently requires all functions to be compiled with Turbofan, so the hard limit breaks serialization for modules containing such huge functions. This CL enables the limit only for --experimental-wasm-gc, so that non-experimental modules continue to be serializable as they always have been. In the future, we will avoid this limitation by making serialization more flexible. Fixed: v8:11991 Change-Id: Ibcee6fafec00fb83c2b99ae906836e8598142529 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3035095Reviewed-by: Andreas Haas <ahaas@chromium.org> Commit-Queue: Jakob Kummerow <jkummerow@chromium.org> Cr-Commit-Position: refs/heads/master@{#75765}
5af79486