{"id":481,"date":"2011-01-14T15:20:41","date_gmt":"2011-01-14T04:20:41","guid":{"rendered":"http:\/\/blog.mozilla.org\/nnethercote\/?p=481"},"modified":"2011-01-14T15:20:41","modified_gmt":"2011-01-14T04:20:41","slug":"my-best-patch-of-2010","status":"publish","type":"post","link":"https:\/\/blog.mozilla.org\/nnethercote\/2011\/01\/14\/my-best-patch-of-2010\/","title":{"rendered":"My best patch of 2010"},"content":{"rendered":"<p>I was going to write one of those &#8220;everything I did last year&#8221; posts, but now I don&#8217;t feel like it.\u00a0 Here&#8217;s a &#8220;one thing I did last year&#8221; post instead.<\/p>\n<p>The most important patch I landed in 2010 was probably the one that added <a href=\"https:\/\/bugzilla.mozilla.org\/show_bug.cgi?id=463137\">LIR type-checking<\/a> to Nanojit (which was based on an earlier patch from Julian Seward).\u00a0 At the time of writing, it&#8217;s caught <a href=\"https:\/\/bugzilla.mozilla.org\/buglist.cgi?query_format=advanced&amp;short_desc=LIR%20type%20error&amp;short_desc_type=allwordssubstr&amp;component=JavaScript%20Engine&amp;component=Nanojit&amp;resolution=---&amp;resolution=FIXED&amp;resolution=INVALID&amp;resolution=WONTFIX&amp;resolution=WORKSFORME&amp;resolution=INCOMPLETE&amp;resolution=EXPIRED&amp;resolution=MOVED&amp;product=Core\">at least 14 type errors<\/a>, most of which could have caused a crash or security problem.<\/p>\n<p>Consistency checks within compilers are wonderful things.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I was going to write one of those &#8220;everything I did last year&#8221; posts, but now I don&#8217;t feel like it.\u00a0 Here&#8217;s a &#8220;one thing I did last year&#8221; post instead. The most important patch I landed in 2010 was probably the one that added LIR type-checking to Nanojit (which was based on an earlier [&hellip;]<\/p>\n","protected":false},"author":139,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[528,30],"tags":[],"_links":{"self":[{"href":"https:\/\/blog.mozilla.org\/nnethercote\/wp-json\/wp\/v2\/posts\/481"}],"collection":[{"href":"https:\/\/blog.mozilla.org\/nnethercote\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.mozilla.org\/nnethercote\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.mozilla.org\/nnethercote\/wp-json\/wp\/v2\/users\/139"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.mozilla.org\/nnethercote\/wp-json\/wp\/v2\/comments?post=481"}],"version-history":[{"count":0,"href":"https:\/\/blog.mozilla.org\/nnethercote\/wp-json\/wp\/v2\/posts\/481\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.mozilla.org\/nnethercote\/wp-json\/wp\/v2\/media?parent=481"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.mozilla.org\/nnethercote\/wp-json\/wp\/v2\/categories?post=481"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.mozilla.org\/nnethercote\/wp-json\/wp\/v2\/tags?post=481"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}