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