[strong] Adding regression cases which should always continue working.
authormarja <marja@chromium.org>
Mon, 16 Feb 2015 17:57:31 +0000 (09:57 -0800)
committerCommit bot <commit-bot@chromium.org>
Mon, 16 Feb 2015 17:57:43 +0000 (17:57 +0000)
commit868470ddc9b9b731a2315adcbdfd03b7bdcc3de2
treeea8ec832e4ef83b51e1472bdf4ccef097553a7bc
parentb7458cfa5e46827ca733e1b56fb6e12bbc4a7ef8
[strong] Adding regression cases which should always continue working.

1) Mutually recursive functions
2) Strong code using non-strong var before declaration.

These test cases ensure that we don't accidentally kill these wanted behaviors
when adding restrictions to strong mode.

BUG=

Review URL: https://codereview.chromium.org/927143002

Cr-Commit-Position: refs/heads/master@{#26671}
test/mjsunit/strong/mutually-recursive-funcs.js [new file with mode: 0644]
test/mjsunit/strong/use-before-var.js [new file with mode: 0644]