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