Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> It’s not that this is a bug in CSE, since this analysis is shared by (many) other passes.

Is DFGClobberize not part of CSE? I read the post and glanced at the code and I’m not sure if I understand your clarification otherwise.

Do note that my comment is not the team “clearly wouldn’t try to prove this right” but is really “hasn’t proved this right”, the “clearly” part being a reference to this bug ;) I would be extremely surprised if there hasn’t been work done by the team to partially verify instruction side effects given how often they lead to bugs in the JIT (I haven’t seen much writing much about it, though, so if there’s something on the WebKit blog about this I’d love to give it a read). However, what I’m suggesting is some sort of proof that the semantics encoded in JavaScriptCore are complete and correct; maybe with some formal language specification involved. Or maybe you could have the CI machines churn through the entire state space for the unary instructions during the holidays or something :)



Clobberize is an effect analysis used by many phases including CSE. It is not “part” of CSE.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: