Reviewers: Christian Plesner Hansen,

Description:
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.


Please review this at http://codereview.chromium.org/174136

SVN Base: http://v8.googlecode.com/svn/branches/bleeding_edge/

Affected files:
   M     test/cctest/test-api.cc


Index: test/cctest/test-api.cc
===================================================================
--- test/cctest/test-api.cc     (revision 2728)
+++ test/cctest/test-api.cc     (working copy)
@@ -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
-~----------~----~----~----~------~----~------~--~---

Reply via email to