Branches of the form if (a == null) ... and if (a != null) ... are common on the V8 Richards benchmark. We should create new opcodes that fuse these instructions.
Created attachment 24568 [details] Proposed patch
Comment on attachment 24568 [details] Proposed patch 3054 /* jneq_null cond(r) target(offset) 3036 /* jeq_null cond(r) target(offset) Let's call "cond" "src", like you suggested. Seems like we might get a little speedup out of experimenting with the asm a little, but this looks good. r=me
Landed in r37789.