On the Java side, ControlFlowAnalyzer looks at local variable refs across the program, finding writes with no reads, and removing them. Nothing seems to do this today on the JS side though, which can result in extra local vars that are assigned but unread or never even assigned.
In the example given by #10399, the inlined local variable directHandlers is only assigned but never read, and should be entirely removed.
On the Java side, ControlFlowAnalyzer looks at local variable refs across the program, finding writes with no reads, and removing them. Nothing seems to do this today on the JS side though, which can result in extra local vars that are assigned but unread or never even assigned.
In the example given by #10399, the inlined local variable
directHandlersis only assigned but never read, and should be entirely removed.