Revision: 2729 Author: [email protected] Date: Thu Aug 20 03:32:11 2009 Log: Fix a test that test out of memory situations. On the 64-bit port the test did not actually run out of memory which the test treats as an error.
Review URL: http://codereview.chromium.org/174136 http://code.google.com/p/v8/source/detail?r=2729 Modified: /branches/bleeding_edge/test/cctest/test-api.cc ======================================= --- /branches/bleeding_edge/test/cctest/test-api.cc Wed Aug 19 13:32:51 2009 +++ /branches/bleeding_edge/test/cctest/test-api.cc Thu Aug 20 03:32:11 2009 @@ -2843,7 +2843,7 @@ static const char* js_code_causing_huge_string_flattening = "var str = 'X';" - "for (var i = 0; i < 29; i++) {" + "for (var i = 0; i < 30; i++) {" " str = str + str;" "}" "str.match(/X/);"; --~--~---------~--~----~------------~-------~--~----~ v8-dev mailing list [email protected] http://groups.google.com/group/v8-dev -~----------~----~----~----~------~----~------~--~---
