From 0e112d4c51de69620a419e1afce88e08e725e40b Mon Sep 17 00:00:00 2001 From: Alon Zakai Date: Fri, 4 Nov 2022 10:27:06 -0700 Subject: [Wasm GC] Fix GUFA on externalize/internalize (#5220) These operations emit a completely different type than their input, so they must be marked as roots, and not as things that flow values through them (because then we filter everything out as the types are not compatible). Fixes #5219 --- src/passes/LocalCSE.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/passes/LocalCSE.cpp') diff --git a/src/passes/LocalCSE.cpp b/src/passes/LocalCSE.cpp index 97d31b9d3..2b9b26f0e 100644 --- a/src/passes/LocalCSE.cpp +++ b/src/passes/LocalCSE.cpp @@ -23,7 +23,7 @@ // an add operation appear twice, and the inputs must be identical in both // cases, then the second one requests to reuse the computed value from the // first. The first one to appear is the "original" expression that will remain -// in the code; we will save it's value to a local, and get it from that local +// in the code; we will save its value to a local, and get it from that local // later: // // (i32.add (A) (B)) -- cgit v1.2.3