1# Copyright 2013 the V8 project authors. All rights reserved. 2# Copyright (C) 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserved. 3# 4# Redistribution and use in source and binary forms, with or without 5# modification, are permitted provided that the following conditions 6# are met: 7# 1. Redistributions of source code must retain the above copyright 8# notice, this list of conditions and the following disclaimer. 9# 2. Redistributions in binary form must reproduce the above copyright 10# notice, this list of conditions and the following disclaimer in the 11# documentation and/or other materials provided with the distribution. 12# 13# THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS'' AND ANY 14# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 15# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 16# DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS BE LIABLE FOR ANY 17# DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 18# (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 19# LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON 20# ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 21# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 22# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 23 24Tests that if array allocation profiling causes a new_array to allocate double arrays, then the holes end up being correctly initialized. 25 26On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". 27 28 29PASS foo([, 1.5], 0) is void 0 30PASS foo([, 1.5], 0) is void 0 31PASS foo([, 1.5], 0) is void 0 32PASS foo([, 1.5], 0) is void 0 33PASS foo([, 1.5], 0) is void 0 34PASS foo([, 1.5], 0) is void 0 35PASS foo([, 1.5], 0) is void 0 36PASS foo([, 1.5], 0) is void 0 37PASS foo([, 1.5], 0) is void 0 38PASS foo([, 1.5], 0) is void 0 39PASS foo([, 1.5], 0) is void 0 40PASS foo([, 1.5], 0) is void 0 41PASS foo([, 1.5], 0) is void 0 42PASS foo([, 1.5], 0) is void 0 43PASS foo([, 1.5], 0) is void 0 44PASS foo([, 1.5], 0) is void 0 45PASS foo([, 1.5], 0) is void 0 46PASS foo([, 1.5], 0) is void 0 47PASS foo([, 1.5], 0) is void 0 48PASS foo([, 1.5], 0) is void 0 49PASS foo([, 1.5], 0) is void 0 50PASS foo([, 1.5], 0) is void 0 51PASS foo([, 1.5], 0) is void 0 52PASS foo([, 1.5], 0) is void 0 53PASS foo([, 1.5], 0) is void 0 54PASS foo([, 1.5], 0) is void 0 55PASS foo([, 1.5], 0) is void 0 56PASS foo([, 1.5], 0) is void 0 57PASS foo([, 1.5], 0) is void 0 58PASS foo([, 1.5], 0) is void 0 59PASS foo([, 1.5], 0) is void 0 60PASS foo([, 1.5], 0) is void 0 61PASS foo([, 1.5], 0) is void 0 62PASS foo([, 1.5], 0) is void 0 63PASS foo([, 1.5], 0) is void 0 64PASS foo([, 1.5], 0) is void 0 65PASS foo([, 1.5], 0) is void 0 66PASS foo([, 1.5], 0) is void 0 67PASS foo([, 1.5], 0) is void 0 68PASS foo([, 1.5], 0) is void 0 69PASS foo([, 1.5], 0) is void 0 70PASS foo([, 1.5], 0) is void 0 71PASS foo([, 1.5], 0) is void 0 72PASS foo([, 1.5], 0) is void 0 73PASS foo([, 1.5], 0) is void 0 74PASS foo([, 1.5], 0) is void 0 75PASS foo([, 1.5], 0) is void 0 76PASS foo([, 1.5], 0) is void 0 77PASS foo([, 1.5], 0) is void 0 78PASS foo([, 1.5], 0) is void 0 79PASS foo([, 1.5], 0) is void 0 80PASS foo([, 1.5], 0) is void 0 81PASS foo([, 1.5], 0) is void 0 82PASS foo([, 1.5], 0) is void 0 83PASS foo([, 1.5], 0) is void 0 84PASS foo([, 1.5], 0) is void 0 85PASS foo([, 1.5], 0) is void 0 86PASS foo([, 1.5], 0) is void 0 87PASS foo([, 1.5], 0) is void 0 88PASS foo([, 1.5], 0) is void 0 89PASS foo([, 1.5], 0) is void 0 90PASS foo([, 1.5], 0) is void 0 91PASS foo([, 1.5], 0) is void 0 92PASS foo([, 1.5], 0) is void 0 93PASS foo([, 1.5], 0) is void 0 94PASS foo([, 1.5], 0) is void 0 95PASS foo([, 1.5], 0) is void 0 96PASS foo([, 1.5], 0) is void 0 97PASS foo([, 1.5], 0) is void 0 98PASS foo([, 1.5], 0) is void 0 99PASS foo([, 1.5], 0) is void 0 100PASS foo([, 1.5], 0) is void 0 101PASS foo([, 1.5], 0) is void 0 102PASS foo([, 1.5], 0) is void 0 103PASS foo([, 1.5], 0) is void 0 104PASS foo([, 1.5], 0) is void 0 105PASS foo([, 1.5], 0) is void 0 106PASS foo([, 1.5], 0) is void 0 107PASS foo([, 1.5], 0) is void 0 108PASS foo([, 1.5], 0) is void 0 109PASS foo([, 1.5], 0) is void 0 110PASS foo([, 1.5], 0) is void 0 111PASS foo([, 1.5], 0) is void 0 112PASS foo([, 1.5], 0) is void 0 113PASS foo([, 1.5], 0) is void 0 114PASS foo([, 1.5], 0) is void 0 115PASS foo([, 1.5], 0) is void 0 116PASS foo([, 1.5], 0) is void 0 117PASS foo([, 1.5], 0) is void 0 118PASS foo([, 1.5], 0) is void 0 119PASS foo([, 1.5], 0) is void 0 120PASS foo([, 1.5], 0) is void 0 121PASS foo([, 1.5], 0) is void 0 122PASS foo([, 1.5], 0) is void 0 123PASS foo([, 1.5], 0) is void 0 124PASS foo([, 1.5], 0) is void 0 125PASS foo([, 1.5], 0) is void 0 126PASS foo([, 1.5], 0) is void 0 127PASS foo([, 1.5], 0) is void 0 128PASS foo([, 1.5], 0) is void 0 129PASS successfullyParsed is true 130 131TEST COMPLETE 132 133