mirror of https://github.com/svaarala/duktape.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
364 B
19 lines
364 B
/*
|
|
* Just random tests for ensuring valstack does not grow during
|
|
* execution.
|
|
*/
|
|
|
|
/*===
|
|
try finished
|
|
===*/
|
|
|
|
/* This was broken at one point: executor left temp values on valstack
|
|
* which eventually ran out of spare.
|
|
*/
|
|
|
|
try {
|
|
eval("for (var i = 0; i < 100000; i++) { 'foo' + i + 'bar' }");
|
|
print("try finished");
|
|
} catch (e) {
|
|
print(e.name);
|
|
}
|
|
|