In JavaScript %GetOptimizationStatus function exists, which returns the current status of a function in a compilation pipeline.
Also, --trace-opt/--trace-deopt/--trace-baseline work fine with JavaScript source code.
WebAssebmly optimization statuses, on the other side seem to be impossible to research with those techniques. How can I see that the WebAssembly function successfully passed Liftoff/Turbofan?