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 stability when the CFA finds a constant in block-local data flow over captured variables but the CSE doesn't because of differences in heap modeling. 25 26On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". 27 28 29PASS foo(i, i + 1) is 162 30PASS foo(i, i + 1) is 162 31PASS foo(i, i + 1) is 162 32PASS foo(i, i + 1) is 162 33PASS foo(i, i + 1) is 162 34PASS foo(i, i + 1) is 162 35PASS foo(i, i + 1) is 162 36PASS foo(i, i + 1) is 162 37PASS foo(i, i + 1) is 162 38PASS foo(i, i + 1) is 162 39PASS foo(i, i + 1) is 162 40PASS foo(i, i + 1) is 162 41PASS foo(i, i + 1) is 162 42PASS foo(i, i + 1) is 162 43PASS foo(i, i + 1) is 162 44PASS foo(i, i + 1) is 162 45PASS foo(i, i + 1) is 162 46PASS foo(i, i + 1) is 162 47PASS foo(i, i + 1) is 162 48PASS foo(i, i + 1) is 162 49PASS foo(i, i + 1) is 162 50PASS foo(i, i + 1) is 162 51PASS foo(i, i + 1) is 162 52PASS foo(i, i + 1) is 162 53PASS foo(i, i + 1) is 162 54PASS foo(i, i + 1) is 162 55PASS foo(i, i + 1) is 162 56PASS foo(i, i + 1) is 162 57PASS foo(i, i + 1) is 162 58PASS foo(i, i + 1) is 162 59PASS foo(i, i + 1) is 162 60PASS foo(i, i + 1) is 162 61PASS foo(i, i + 1) is 162 62PASS foo(i, i + 1) is 162 63PASS foo(i, i + 1) is 162 64PASS foo(i, i + 1) is 162 65PASS foo(i, i + 1) is 162 66PASS foo(i, i + 1) is 162 67PASS foo(i, i + 1) is 162 68PASS foo(i, i + 1) is 162 69PASS foo(i, i + 1) is 162 70PASS foo(i, i + 1) is 162 71PASS foo(i, i + 1) is 162 72PASS foo(i, i + 1) is 162 73PASS foo(i, i + 1) is 162 74PASS foo(i, i + 1) is 162 75PASS foo(i, i + 1) is 162 76PASS foo(i, i + 1) is 162 77PASS foo(i, i + 1) is 162 78PASS foo(i, i + 1) is 162 79PASS foo(i, i + 1) is 162 80PASS foo(i, i + 1) is 162 81PASS foo(i, i + 1) is 162 82PASS foo(i, i + 1) is 162 83PASS foo(i, i + 1) is 162 84PASS foo(i, i + 1) is 162 85PASS foo(i, i + 1) is 162 86PASS foo(i, i + 1) is 162 87PASS foo(i, i + 1) is 162 88PASS foo(i, i + 1) is 162 89PASS foo(i, i + 1) is 162 90PASS foo(i, i + 1) is 162 91PASS foo(i, i + 1) is 162 92PASS foo(i, i + 1) is 162 93PASS foo(i, i + 1) is 162 94PASS foo(i, i + 1) is 162 95PASS foo(i, i + 1) is 162 96PASS foo(i, i + 1) is 162 97PASS foo(i, i + 1) is 162 98PASS foo(i, i + 1) is 162 99PASS foo(i, i + 1) is 162 100PASS foo(i, i + 1) is 162 101PASS foo(i, i + 1) is 162 102PASS foo(i, i + 1) is 162 103PASS foo(i, i + 1) is 162 104PASS foo(i, i + 1) is 162 105PASS foo(i, i + 1) is 162 106PASS foo(i, i + 1) is 162 107PASS foo(i, i + 1) is 162 108PASS foo(i, i + 1) is 162 109PASS foo(i, i + 1) is 162 110PASS foo(i, i + 1) is 162 111PASS foo(i, i + 1) is 162 112PASS foo(i, i + 1) is 162 113PASS foo(i, i + 1) is 162 114PASS foo(i, i + 1) is 162 115PASS foo(i, i + 1) is 162 116PASS foo(i, i + 1) is 162 117PASS foo(i, i + 1) is 162 118PASS foo(i, i + 1) is 162 119PASS foo(i, i + 1) is 162 120PASS foo(i, i + 1) is 162 121PASS foo(i, i + 1) is 162 122PASS foo(i, i + 1) is 162 123PASS foo(i, i + 1) is 162 124PASS foo(i, i + 1) is 162 125PASS foo(i, i + 1) is 162 126PASS foo(i, i + 1) is 162 127PASS foo(i, i + 1) is 162 128PASS foo(i, i + 1) is 162 129PASS foo(i, i + 1) is 162 130PASS foo(i, i + 1) is 162 131PASS foo(i, i + 1) is 162 132PASS foo(i, i + 1) is 162 133PASS foo(i, i + 1) is 162 134PASS foo(i, i + 1) is 162 135PASS foo(i, i + 1) is 162 136PASS foo(i, i + 1) is 162 137PASS foo(i, i + 1) is 162 138PASS foo(i, i + 1) is 162 139PASS foo(i, i + 1) is 162 140PASS foo(i, i + 1) is 162 141PASS foo(i, i + 1) is 162 142PASS foo(i, i + 1) is 162 143PASS foo(i, i + 1) is 162 144PASS foo(i, i + 1) is 162 145PASS foo(i, i + 1) is 162 146PASS foo(i, i + 1) is 162 147PASS foo(i, i + 1) is 162 148PASS foo(i, i + 1) is 162 149PASS foo(i, i + 1) is 162 150PASS foo(i, i + 1) is 162 151PASS foo(i, i + 1) is 162 152PASS foo(i, i + 1) is 162 153PASS foo(i, i + 1) is 162 154PASS foo(i, i + 1) is 162 155PASS foo(i, i + 1) is 162 156PASS foo(i, i + 1) is 162 157PASS foo(i, i + 1) is 162 158PASS foo(i, i + 1) is 162 159PASS foo(i, i + 1) is 162 160PASS foo(i, i + 1) is 162 161PASS foo(i, i + 1) is 162 162PASS foo(i, i + 1) is 162 163PASS foo(i, i + 1) is 162 164PASS foo(i, i + 1) is 162 165PASS foo(i, i + 1) is 162 166PASS foo(i, i + 1) is 162 167PASS foo(i, i + 1) is 162 168PASS foo(i, i + 1) is 162 169PASS foo(i, i + 1) is 162 170PASS foo(i, i + 1) is 162 171PASS foo(i, i + 1) is 162 172PASS foo(i, i + 1) is 162 173PASS foo(i, i + 1) is 162 174PASS foo(i, i + 1) is 162 175PASS foo(i, i + 1) is 162 176PASS foo(i, i + 1) is 162 177PASS foo(i, i + 1) is 162 178PASS foo(i, i + 1) is 162 179PASS foo(i, i + 1) is 162 180PASS foo(i, i + 1) is 162 181PASS foo(i, i + 1) is 162 182PASS foo(i, i + 1) is 162 183PASS foo(i, i + 1) is 162 184PASS foo(i, i + 1) is 162 185PASS foo(i, i + 1) is 162 186PASS foo(i, i + 1) is 162 187PASS foo(i, i + 1) is 162 188PASS foo(i, i + 1) is 162 189PASS foo(i, i + 1) is 162 190PASS foo(i, i + 1) is 162 191PASS foo(i, i + 1) is 162 192PASS foo(i, i + 1) is 162 193PASS foo(i, i + 1) is 162 194PASS foo(i, i + 1) is 162 195PASS foo(i, i + 1) is 162 196PASS foo(i, i + 1) is 162 197PASS foo(i, i + 1) is 162 198PASS foo(i, i + 1) is 162 199PASS foo(i, i + 1) is 162 200PASS foo(i, i + 1) is 162 201PASS foo(i, i + 1) is 162 202PASS foo(i, i + 1) is 162 203PASS foo(i, i + 1) is 162 204PASS foo(i, i + 1) is 162 205PASS foo(i, i + 1) is 162 206PASS foo(i, i + 1) is 162 207PASS foo(i, i + 1) is 162 208PASS foo(i, i + 1) is 162 209PASS foo(i, i + 1) is 162 210PASS foo(i, i + 1) is 162 211PASS foo(i, i + 1) is 162 212PASS foo(i, i + 1) is 162 213PASS foo(i, i + 1) is 162 214PASS foo(i, i + 1) is 162 215PASS foo(i, i + 1) is 162 216PASS foo(i, i + 1) is 162 217PASS foo(i, i + 1) is 162 218PASS foo(i, i + 1) is 162 219PASS foo(i, i + 1) is 162 220PASS foo(i, i + 1) is 162 221PASS foo(i, i + 1) is 162 222PASS foo(i, i + 1) is 162 223PASS foo(i, i + 1) is 162 224PASS foo(i, i + 1) is 162 225PASS foo(i, i + 1) is 162 226PASS foo(i, i + 1) is 162 227PASS foo(i, i + 1) is 162 228PASS foo(i, i + 1) is 162 229PASS successfullyParsed is true 230 231TEST COMPLETE 232 233