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