Added test cases for bug 588362 (no_r=me).

--HG--
extra : rebase_source : 31f12cfd87e2ecaf49cfd496e2e78b2846a9f3be
This commit is contained in:
David Anderson 2010-09-09 14:28:42 -07:00
parent 7c2ac56dff
commit 6c7893b5ff
3 changed files with 28 additions and 0 deletions

View File

@ -0,0 +1,8 @@
for (a = 0; a < HOTLOOP + 5; a++) {
(function e() {
yield eval()
}())
}
/* Don't assert. */

View File

@ -0,0 +1,10 @@
for (a = 0; a < HOTLOOP + 5; a++) {
(function n() {
with({}) {
yield
}
} ())
}
/* Don't assert. */

View File

@ -0,0 +1,10 @@
for (a = 0; a < HOTLOOP + 5; a++) {
(function n() { {
function s() {}
}
yield[];
}());
}
/* Don't assert. */