Ignore traces in optimizeSideExitCheck()
commit21b7fcd24ad45dcdb2213f174dbe916e5717cfa8
authorEdwin Smith <smith@fb.com>
Thu, 26 Dec 2013 16:01:15 +0000 (26 08:01 -0800)
committerSara Golemon <sgolemon@fb.com>
Sun, 29 Dec 2013 01:34:58 +0000 (28 17:34 -0800)
treee513c15018d30f0c22cdc820d38fd41543e35b5e
parent8036bfa80fd3f521b48d95c7d87c4d7d6830dbfd
Ignore traces in optimizeSideExitCheck()

Refactor optimizeSideExitCheck() into the postorder walk.  We were
visiting every instruction before, we really only need to visit
the last instruction of each block, and we can do it in the same
walk as the other jump optimizations.

Reviewed By: @ottoni

Differential Revision: D1111447
hphp/runtime/vm/jit/jump-opts.cpp