Fix 'continue' bytecode generation. Fix tests.

This commit is contained in:
Ilmir Usmanov
2014-10-15 21:03:56 +04:00
parent a66c175d98
commit 6b733b8cd2
3 changed files with 11 additions and 7 deletions
@@ -13,8 +13,9 @@
// limitations under the License.
var obj = new Object();
obj.x = "defined";
do
{
obj.x = "defined";
delete obj.x;
}
while (delete obj.x);
while (obj.x !== undefined);
@@ -15,5 +15,7 @@
var x = 1 / 3;
do
{
x = 1;
}
while (x === 3 / 9);
assert (x === 1);