Bug 620757 changed TM so it no longer traces table switches. That means that support from them can be removed from Nanojit. I think this includes SwitchInfo and LIR_jtbl.
TR uses LIR_jtbl, but LIR_jtbl doesn't use SwitchInfo. LIR_xtbl does, and only on x86.
My mistake, I meant LIR_xtbl all along! :)
Created attachment 516504 [details] [diff] [review] NJ patch (against TM 62988:40f500ecdfd0)
Created attachment 516505 [details] [diff] [review] TM patch (against TM 62988:40f500ecdfd0)
Comment on attachment 516504 [details] [diff] [review] NJ patch (against TM 62988:40f500ecdfd0) Passed TR acceptance tests on mac x86 and x64, no surprises in patch.
http://hg.mozilla.org/projects/nanojit-central/rev/fd5ca562e1d1 http://hg.mozilla.org/tracemonkey/rev/68bd90f2aae1 http://hg.mozilla.org/tracemonkey/rev/de384e76ed18
Apologies for omitting the bug number in the commit logs for the above patches :(