Started doing some actual work today. Then I encountered this comment:
/* Magic constant computed by inspecting the code length of the following assembly language snippet ... */
In the haskell runtime. Followed by ASM encoded in hex. Yeah.. no thanks.
I think that code is vulnerable to Spectre variant 2 though.