As I can see, problem comes from different place. `advance` was bailout'ed because of switch clause type restrictions, my patch is removing thoserestrictions and it's starting deoptimization on some smi checks (as I can see)
that wasn't introduced by my patch.
Even more, on previous revisions patched d8 was 5 % faster (than w/o switch optimization). http://codereview.chromium.org/8373029/ -- v8-dev mailing list [email protected] http://groups.google.com/group/v8-dev
