News for hackers. Stuff that matters.
Re:Speculation in JavaScriptCore by hajile on Wednesday July 29, 2020 @08:10PM (#23992962)
JaegerMonkey used both approaches. I don't know if IonMonkey still does though.

https://hacks.mozilla.org/2010/03/improving-javascript-perfo...

EDIT: It looks like a couple trace-like techniques are still used in IonMonkey (maybe the devs have some input there though).

https://wiki.mozilla.org/IonMonkey/Overview#Modus_Operandi

Re:Speculation in JavaScriptCore by jashmatthews on Wednesday July 29, 2020 @10:43PM (#23993941)
There’s no tracing in either JägerMonkey or IonMonkey. That’s just a confusing statement about the similarity of speculation guards and OSR exits to trace guards and side exits. For a while TraceMonkey was used as a higher tier above JägerMonkey which might be what you’re thinking of?

I don’t work for Mozilla but spent a ton of time studying TraceMonkey for building my own tracing JIT.