Chromium Code Reviews| Index: test/mjsunit/limit-locals.js |
| diff --git a/test/mjsunit/limit-locals.js b/test/mjsunit/limit-locals.js |
| index 1d36c80e5d643d5ee9c48543d185a64de3ec72ee..25fe112b0f0b496f06fe9b218d2e18208636d938 100644 |
| --- a/test/mjsunit/limit-locals.js |
| +++ b/test/mjsunit/limit-locals.js |
| @@ -25,9 +25,9 @@ |
| // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
| // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| -// Test that there is a limit of 131071 locals. |
| +// Test that there is a limit of 262143 locals. |
| -// Flags: --stack-size=1200 |
| +// Flags: --stack-size=2400 |
| function function_with_n_locals(n) { |
| test_prefix = "prefix "; |
| @@ -43,5 +43,6 @@ function function_with_n_locals(n) { |
| assertEquals("prefix 0 suffix", function_with_n_locals(0)); |
| assertEquals("prefix 16000 suffix", function_with_n_locals(16000)); |
| assertEquals("prefix 131071 suffix", function_with_n_locals(131071)); |
|
Jakob Kummerow
2014/03/20 10:37:14
Feel free to drop this line; the test is slow enou
|
| +assertEquals("prefix 262143 suffix", function_with_n_locals(262143)); |
| -assertThrows("function_with_n_locals(131072)"); |
| +assertThrows("function_with_n_locals(262144)"); |