Home | History | Annotate | Download | only in webkit
      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 if you alias the arguments in a very small function, arguments simplification still works even if the variable isn't must-aliased.
     25 
     26 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
     27 
     28 
     29 PASS foo(a, b, c) is 6
     30 PASS foo(a, b, c) is 6
     31 PASS foo(a, b, c) is 6
     32 PASS foo(a, b, c) is 6
     33 PASS foo(a, b, c) is 6
     34 PASS foo(a, b, c) is 6
     35 PASS foo(a, b, c) is 6
     36 PASS foo(a, b, c) is 6
     37 PASS foo(a, b, c) is 6
     38 PASS foo(a, b, c) is 6
     39 PASS foo(a, b, c) is 6
     40 PASS foo(a, b, c) is 6
     41 PASS foo(a, b, c) is 6
     42 PASS foo(a, b, c) is 6
     43 PASS foo(a, b, c) is 6
     44 PASS foo(a, b, c) is 6
     45 PASS foo(a, b, c) is 6
     46 PASS foo(a, b, c) is 6
     47 PASS foo(a, b, c) is 6
     48 PASS foo(a, b, c) is 6
     49 PASS foo(a, b, c) is 6
     50 PASS foo(a, b, c) is 6
     51 PASS foo(a, b, c) is 6
     52 PASS foo(a, b, c) is 6
     53 PASS foo(a, b, c) is 6
     54 PASS foo(a, b, c) is 6
     55 PASS foo(a, b, c) is 6
     56 PASS foo(a, b, c) is 6
     57 PASS foo(a, b, c) is 6
     58 PASS foo(a, b, c) is 6
     59 PASS foo(a, b, c) is 6
     60 PASS foo(a, b, c) is 6
     61 PASS foo(a, b, c) is 6
     62 PASS foo(a, b, c) is 6
     63 PASS foo(a, b, c) is 6
     64 PASS foo(a, b, c) is 6
     65 PASS foo(a, b, c) is 6
     66 PASS foo(a, b, c) is 6
     67 PASS foo(a, b, c) is 6
     68 PASS foo(a, b, c) is 6
     69 PASS foo(a, b, c) is 6
     70 PASS foo(a, b, c) is 6
     71 PASS foo(a, b, c) is 6
     72 PASS foo(a, b, c) is 6
     73 PASS foo(a, b, c) is 6
     74 PASS foo(a, b, c) is 6
     75 PASS foo(a, b, c) is 6
     76 PASS foo(a, b, c) is 6
     77 PASS foo(a, b, c) is 6
     78 PASS foo(a, b, c) is 6
     79 PASS foo(a, b, c) is 6
     80 PASS foo(a, b, c) is 6
     81 PASS foo(a, b, c) is 6
     82 PASS foo(a, b, c) is 6
     83 PASS foo(a, b, c) is 6
     84 PASS foo(a, b, c) is 6
     85 PASS foo(a, b, c) is 6
     86 PASS foo(a, b, c) is 6
     87 PASS foo(a, b, c) is 6
     88 PASS foo(a, b, c) is 6
     89 PASS foo(a, b, c) is 6
     90 PASS foo(a, b, c) is 6
     91 PASS foo(a, b, c) is 6
     92 PASS foo(a, b, c) is 6
     93 PASS foo(a, b, c) is 6
     94 PASS foo(a, b, c) is 6
     95 PASS foo(a, b, c) is 6
     96 PASS foo(a, b, c) is 6
     97 PASS foo(a, b, c) is 6
     98 PASS foo(a, b, c) is 6
     99 PASS foo(a, b, c) is 6
    100 PASS foo(a, b, c) is 6
    101 PASS foo(a, b, c) is 6
    102 PASS foo(a, b, c) is 6
    103 PASS foo(a, b, c) is 6
    104 PASS foo(a, b, c) is 6
    105 PASS foo(a, b, c) is 6
    106 PASS foo(a, b, c) is 6
    107 PASS foo(a, b, c) is 6
    108 PASS foo(a, b, c) is 6
    109 PASS foo(a, b, c) is 6
    110 PASS foo(a, b, c) is 6
    111 PASS foo(a, b, c) is 6
    112 PASS foo(a, b, c) is 6
    113 PASS foo(a, b, c) is 6
    114 PASS foo(a, b, c) is 6
    115 PASS foo(a, b, c) is 6
    116 PASS foo(a, b, c) is 6
    117 PASS foo(a, b, c) is 6
    118 PASS foo(a, b, c) is 6
    119 PASS foo(a, b, c) is 6
    120 PASS foo(a, b, c) is 6
    121 PASS foo(a, b, c) is 6
    122 PASS foo(a, b, c) is 6
    123 PASS foo(a, b, c) is 6
    124 PASS foo(a, b, c) is 6
    125 PASS foo(a, b, c) is 6
    126 PASS foo(a, b, c) is 6
    127 PASS foo(a, b, c) is 6
    128 PASS foo(a, b, c) is 6
    129 PASS foo(a, b, c) is 6
    130 PASS foo(a, b, c) is 6
    131 PASS foo(a, b, c) is 6
    132 PASS foo(a, b, c) is 6
    133 PASS foo(a, b, c) is 6
    134 PASS foo(a, b, c) is 6
    135 PASS foo(a, b, c) is 6
    136 PASS foo(a, b, c) is 6
    137 PASS foo(a, b, c) is 6
    138 PASS foo(a, b, c) is 6
    139 PASS foo(a, b, c) is 6
    140 PASS foo(a, b, c) is 6
    141 PASS foo(a, b, c) is 6
    142 PASS foo(a, b, c) is 6
    143 PASS foo(a, b, c) is 6
    144 PASS foo(a, b, c) is 6
    145 PASS foo(a, b, c) is 6
    146 PASS foo(a, b, c) is 6
    147 PASS foo(a, b, c) is 6
    148 PASS foo(a, b, c) is 6
    149 PASS foo(a, b, c) is 6
    150 PASS foo(a, b, c) is 6
    151 PASS foo(a, b, c) is 6
    152 PASS foo(a, b, c) is 6
    153 PASS foo(a, b, c) is 6
    154 PASS foo(a, b, c) is 6
    155 PASS foo(a, b, c) is 6
    156 PASS foo(a, b, c) is 6
    157 PASS foo(a, b, c) is 6
    158 PASS foo(a, b, c) is 6
    159 PASS foo(a, b, c) is 6
    160 PASS foo(a, b, c) is 6
    161 PASS foo(a, b, c) is 6
    162 PASS foo(a, b, c) is 6
    163 PASS foo(a, b, c) is 6
    164 PASS foo(a, b, c) is 6
    165 PASS foo(a, b, c) is 6
    166 PASS foo(a, b, c) is 6
    167 PASS foo(a, b, c) is 6
    168 PASS foo(a, b, c) is 6
    169 PASS foo(a, b, c) is 6
    170 PASS foo(a, b, c) is 6
    171 PASS foo(a, b, c) is 6
    172 PASS foo(a, b, c) is 6
    173 PASS foo(a, b, c) is 6
    174 PASS foo(a, b, c) is 6
    175 PASS foo(a, b, c) is 6
    176 PASS foo(a, b, c) is 6
    177 PASS foo(a, b, c) is 6
    178 PASS foo(a, b, c) is 6
    179 PASS foo(a, b, c) is 6
    180 PASS foo(a, b, c) is 6
    181 PASS foo(a, b, c) is 6
    182 PASS foo(a, b, c) is 6
    183 PASS foo(a, b, c) is 6
    184 PASS foo(a, b, c) is 6
    185 PASS foo(a, b, c) is 6
    186 PASS foo(a, b, c) is 6
    187 PASS foo(a, b, c) is 6
    188 PASS foo(a, b, c) is 6
    189 PASS foo(a, b, c) is 6
    190 PASS foo(a, b, c) is 6
    191 PASS foo(a, b, c) is 6
    192 PASS foo(a, b, c) is 6
    193 PASS foo(a, b, c) is 6
    194 PASS foo(a, b, c) is 6
    195 PASS foo(a, b, c) is 6
    196 PASS foo(a, b, c) is 6
    197 PASS foo(a, b, c) is 6
    198 PASS foo(a, b, c) is 6
    199 PASS foo(a, b, c) is 6
    200 PASS foo(a, b, c) is 6
    201 PASS foo(a, b, c) is 6
    202 PASS foo(a, b, c) is 6
    203 PASS foo(a, b, c) is 6
    204 PASS foo(a, b, c) is 6
    205 PASS foo(a, b, c) is 6
    206 PASS foo(a, b, c) is 6
    207 PASS foo(a, b, c) is 6
    208 PASS foo(a, b, c) is 6
    209 PASS foo(a, b, c) is 6
    210 PASS foo(a, b, c) is 6
    211 PASS foo(a, b, c) is 6
    212 PASS foo(a, b, c) is 6
    213 PASS foo(a, b, c) is 6
    214 PASS foo(a, b, c) is 6
    215 PASS foo(a, b, c) is 6
    216 PASS foo(a, b, c) is 6
    217 PASS foo(a, b, c) is 6
    218 PASS foo(a, b, c) is 6
    219 PASS foo(a, b, c) is 6
    220 PASS foo(a, b, c) is 6
    221 PASS foo(a, b, c) is 6
    222 PASS foo(a, b, c) is 6
    223 PASS foo(a, b, c) is 6
    224 PASS foo(a, b, c) is 6
    225 PASS foo(a, b, c) is 6
    226 PASS foo(a, b, c) is 6
    227 PASS foo(a, b, c) is 6
    228 PASS foo(a, b, c) is 6
    229 PASS foo(a, b, c) is 6
    230 PASS foo(a, b, c) is 6
    231 PASS foo(a, b, c) is 6
    232 PASS foo(a, b, c) is 6
    233 PASS foo(a, b, c) is 6
    234 PASS foo(a, b, c) is 6
    235 PASS foo(a, b, c) is 6
    236 PASS foo(a, b, c) is 6
    237 PASS foo(a, b, c) is 6
    238 PASS foo(a, b, c) is 6
    239 PASS foo(a, b, c) is 6
    240 PASS foo(a, b, c) is 6
    241 PASS foo(a, b, c) is 6
    242 PASS foo(a, b, c) is 6
    243 PASS foo(a, b, c) is 6
    244 PASS foo(a, b, c) is 6
    245 PASS foo(a, b, c) is 6
    246 PASS foo(a, b, c) is 6
    247 PASS foo(a, b, c) is 6
    248 PASS foo(a, b, c) is 6
    249 PASS foo(a, b, c) is 6
    250 PASS foo(a, b, c) is 6
    251 PASS foo(a, b, c) is 6
    252 PASS foo(a, b, c) is 6
    253 PASS foo(a, b, c) is 6
    254 PASS foo(a, b, c) is 6
    255 PASS foo(a, b, c) is 6
    256 PASS foo(a, b, c) is 6
    257 PASS foo(a, b, c) is 6
    258 PASS foo(a, b, c) is 6
    259 PASS foo(a, b, c) is 6
    260 PASS foo(a, b, c) is 6
    261 PASS foo(a, b, c) is 6
    262 PASS foo(a, b, c) is 6
    263 PASS foo(a, b, c) is 6
    264 PASS foo(a, b, c) is 6
    265 PASS foo(a, b, c) is 6
    266 PASS foo(a, b, c) is 6
    267 PASS foo(a, b, c) is 6
    268 PASS foo(a, b, c) is 6
    269 PASS foo(a, b, c) is 6
    270 PASS foo(a, b, c) is 6
    271 PASS foo(a, b, c) is 6
    272 PASS foo(a, b, c) is 6
    273 PASS foo(a, b, c) is 6
    274 PASS foo(a, b, c) is 6
    275 PASS foo(a, b, c) is 6
    276 PASS foo(a, b, c) is 6
    277 PASS foo(a, b, c) is 6
    278 PASS foo(a, b, c) is 6
    279 PASS foo(a, b, c) is 6
    280 PASS foo(a, b, c) is 6
    281 PASS foo(a, b, c) is 6
    282 PASS foo(a, b, c) is 6
    283 PASS foo(a, b, c) is 6
    284 PASS foo(a, b, c) is 6
    285 PASS foo(a, b, c) is 6
    286 PASS foo(a, b, c) is 6
    287 PASS foo(a, b, c) is 6
    288 PASS foo(a, b, c) is 6
    289 PASS foo(a, b, c) is 6
    290 PASS foo(a, b, c) is 6
    291 PASS foo(a, b, c) is 6
    292 PASS foo(a, b, c) is 6
    293 PASS foo(a, b, c) is 6
    294 PASS foo(a, b, c) is 6
    295 PASS foo(a, b, c) is 6
    296 PASS foo(a, b, c) is 6
    297 PASS foo(a, b, c) is 6
    298 PASS foo(a, b, c) is 6
    299 PASS foo(a, b, c) is 6
    300 PASS foo(a, b, c) is 6
    301 PASS foo(a, b, c) is 6
    302 PASS foo(a, b, c) is 6
    303 PASS foo(a, b, c) is 6
    304 PASS foo(a, b, c) is 6
    305 PASS foo(a, b, c) is 6
    306 PASS foo(a, b, c) is 6
    307 PASS foo(a, b, c) is 6
    308 PASS foo(a, b, c) is 6
    309 PASS foo(a, b, c) is 6
    310 PASS foo(a, b, c) is 6
    311 PASS foo(a, b, c) is 6
    312 PASS foo(a, b, c) is 6
    313 PASS foo(a, b, c) is 6
    314 PASS foo(a, b, c) is 6
    315 PASS foo(a, b, c) is 6
    316 PASS foo(a, b, c) is 6
    317 PASS foo(a, b, c) is 6
    318 PASS foo(a, b, c) is 6
    319 PASS foo(a, b, c) is 6
    320 PASS foo(a, b, c) is 6
    321 PASS foo(a, b, c) is 6
    322 PASS foo(a, b, c) is 6
    323 PASS foo(a, b, c) is 6
    324 PASS foo(a, b, c) is 6
    325 PASS foo(a, b, c) is 6
    326 PASS foo(a, b, c) is 6
    327 PASS foo(a, b, c) is 6
    328 PASS foo(a, b, c) is 6
    329 PASS successfullyParsed is true
    330 
    331 TEST COMPLETE
    332 
    333