Fix new-space-too-small test crash on 64 bit VM.
Review URL: http://codereview.chromium.org/3778009 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5628 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
parent
d22965c49d
commit
759a87b520
@ -25,7 +25,7 @@
|
||||
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
// Flags: --max-new-space-size=128
|
||||
// Flags: --max-new-space-size=256
|
||||
|
||||
// Check for GC bug constructing exceptions.
|
||||
var v = [1, 2, 3, 4]
|
||||
@ -34,7 +34,7 @@ Object.preventExtensions(v);
|
||||
|
||||
function foo() {
|
||||
var re = /2147483647/; // Equal to 0x7fffffff.
|
||||
for (var i = 0; i < 7000; i++) {
|
||||
for (var i = 0; i < 10000; i++) {
|
||||
var ok = false;
|
||||
try {
|
||||
var j = 1;
|
||||
|
Loading…
Reference in New Issue
Block a user