Group property assignments in top-level blocks.
authorvitalyr@chromium.org <vitalyr@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Wed, 6 Jul 2011 17:21:32 +0000 (17:21 +0000)
committervitalyr@chromium.org <vitalyr@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Wed, 6 Jul 2011 17:21:32 +0000 (17:21 +0000)
commit28d5392bc01c07ecab63e8e2478a08afc72ea8cb
treea7feefe88b7aeda482e430df74b4fc9ed27f9afb
parent53a5b07992e75cfb4b6e4d30bf948c8b34f07620
Group property assignments in top-level blocks.

This patch enables insertion of To{Slow,Fast}Properties around a group
of assigments to the same object even when they are put in a block
(e.g. try-catch, if, etc.). Catching exceptions and disabling parts of
code based on some config vars is rather common in top-level code.

R=vegorov@chromium.org

Review URL: http://codereview.chromium.org/7314002

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@8558 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/parser.cc