Reviewers: fschneider, Description: Restrict the syntax that we aggressively optimize.
Do not use the speculative compiler for functions with other than one statement in the body, and do not use it if subexpressions can have side effects. Bailing out to the beginning of the full code is not sound if side effects have already occurred. Add tests that would fail without the restrictions. Please review this at http://codereview.chromium.org/598016 Affected files: M src/fast-codegen.cc A test/mjsunit/compiler/simple-bailouts.js -- v8-dev mailing list [email protected] http://groups.google.com/group/v8-dev
