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 ArrayPop is known to the DFG to be a side effect.
     25 
     26 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
     27 
     28 
     29 PASS foo(a, b) is 45
     30 PASS foo(a, b) is 45
     31 PASS foo(a, b) is 45
     32 PASS foo(a, b) is 45
     33 PASS foo(a, b) is 45
     34 PASS foo(a, b) is 45
     35 PASS foo(a, b) is 45
     36 PASS foo(a, b) is 45
     37 PASS foo(a, b) is 45
     38 PASS foo(a, b) is 45
     39 PASS foo(a, b) is 45
     40 PASS foo(a, b) is 45
     41 PASS foo(a, b) is 45
     42 PASS foo(a, b) is 45
     43 PASS foo(a, b) is 45
     44 PASS foo(a, b) is 45
     45 PASS foo(a, b) is 45
     46 PASS foo(a, b) is 45
     47 PASS foo(a, b) is 45
     48 PASS foo(a, b) is 45
     49 PASS foo(a, b) is 45
     50 PASS foo(a, b) is 45
     51 PASS foo(a, b) is 45
     52 PASS foo(a, b) is 45
     53 PASS foo(a, b) is 45
     54 PASS foo(a, b) is 45
     55 PASS foo(a, b) is 45
     56 PASS foo(a, b) is 45
     57 PASS foo(a, b) is 45
     58 PASS foo(a, b) is 45
     59 PASS foo(a, b) is 45
     60 PASS foo(a, b) is 45
     61 PASS foo(a, b) is 45
     62 PASS foo(a, b) is 45
     63 PASS foo(a, b) is 45
     64 PASS foo(a, b) is 45
     65 PASS foo(a, b) is 45
     66 PASS foo(a, b) is 45
     67 PASS foo(a, b) is 45
     68 PASS foo(a, b) is 45
     69 PASS foo(a, b) is 45
     70 PASS foo(a, b) is 45
     71 PASS foo(a, b) is 45
     72 PASS foo(a, b) is 45
     73 PASS foo(a, b) is 45
     74 PASS foo(a, b) is 45
     75 PASS foo(a, b) is 45
     76 PASS foo(a, b) is 45
     77 PASS foo(a, b) is 45
     78 PASS foo(a, b) is 45
     79 PASS foo(a, b) is 45
     80 PASS foo(a, b) is 45
     81 PASS foo(a, b) is 45
     82 PASS foo(a, b) is 45
     83 PASS foo(a, b) is 45
     84 PASS foo(a, b) is 45
     85 PASS foo(a, b) is 45
     86 PASS foo(a, b) is 45
     87 PASS foo(a, b) is 45
     88 PASS foo(a, b) is 45
     89 PASS foo(a, b) is 45
     90 PASS foo(a, b) is 45
     91 PASS foo(a, b) is 45
     92 PASS foo(a, b) is 45
     93 PASS foo(a, b) is 45
     94 PASS foo(a, b) is 45
     95 PASS foo(a, b) is 45
     96 PASS foo(a, b) is 45
     97 PASS foo(a, b) is 45
     98 PASS foo(a, b) is 45
     99 PASS foo(a, b) is 45
    100 PASS foo(a, b) is 45
    101 PASS foo(a, b) is 45
    102 PASS foo(a, b) is 45
    103 PASS foo(a, b) is 45
    104 PASS foo(a, b) is 45
    105 PASS foo(a, b) is 45
    106 PASS foo(a, b) is 45
    107 PASS foo(a, b) is 45
    108 PASS foo(a, b) is 45
    109 PASS foo(a, b) is 45
    110 PASS foo(a, b) is 45
    111 PASS foo(a, b) is 45
    112 PASS foo(a, b) is 45
    113 PASS foo(a, b) is 45
    114 PASS foo(a, b) is 45
    115 PASS foo(a, b) is 45
    116 PASS foo(a, b) is 45
    117 PASS foo(a, b) is 45
    118 PASS foo(a, b) is 45
    119 PASS foo(a, b) is 45
    120 PASS foo(a, b) is 45
    121 PASS foo(a, b) is 45
    122 PASS foo(a, b) is 45
    123 PASS foo(a, b) is 45
    124 PASS foo(a, b) is 45
    125 PASS foo(a, b) is 45
    126 PASS foo(a, b) is 45
    127 PASS foo(a, b) is 45
    128 PASS foo(a, b) is 45
    129 PASS foo(a, b) is 45
    130 PASS foo(a, b) is 45
    131 PASS foo(a, b) is 45
    132 PASS foo(a, b) is 45
    133 PASS foo(a, b) is 45
    134 PASS foo(a, b) is 45
    135 PASS foo(a, b) is 45
    136 PASS foo(a, b) is 45
    137 PASS foo(a, b) is 45
    138 PASS foo(a, b) is 45
    139 PASS foo(a, b) is 45
    140 PASS foo(a, b) is 45
    141 PASS foo(a, b) is 45
    142 PASS foo(a, b) is 45
    143 PASS foo(a, b) is 45
    144 PASS foo(a, b) is 45
    145 PASS foo(a, b) is 45
    146 PASS foo(a, b) is 45
    147 PASS foo(a, b) is 45
    148 PASS foo(a, b) is 45
    149 PASS foo(a, b) is 45
    150 PASS foo(a, b) is 45
    151 PASS foo(a, b) is 45
    152 PASS foo(a, b) is 45
    153 PASS foo(a, b) is 45
    154 PASS foo(a, b) is 45
    155 PASS foo(a, b) is 45
    156 PASS foo(a, b) is 45
    157 PASS foo(a, b) is 45
    158 PASS foo(a, b) is 45
    159 PASS foo(a, b) is 45
    160 PASS foo(a, b) is 45
    161 PASS foo(a, b) is 45
    162 PASS foo(a, b) is 45
    163 PASS foo(a, b) is 45
    164 PASS foo(a, b) is 45
    165 PASS foo(a, b) is 45
    166 PASS foo(a, b) is 45
    167 PASS foo(a, b) is 45
    168 PASS foo(a, b) is 45
    169 PASS foo(a, b) is 45
    170 PASS foo(a, b) is 45
    171 PASS foo(a, b) is 45
    172 PASS foo(a, b) is 45
    173 PASS foo(a, b) is 45
    174 PASS foo(a, b) is 45
    175 PASS foo(a, b) is 45
    176 PASS foo(a, b) is 45
    177 PASS foo(a, b) is 45
    178 PASS foo(a, b) is 45
    179 Ouch!
    180 PASS foo(a, b) is 0/0
    181 Ouch!
    182 PASS foo(a, b) is 0/0
    183 Ouch!
    184 PASS foo(a, b) is 0/0
    185 Ouch!
    186 PASS foo(a, b) is 0/0
    187 Ouch!
    188 PASS foo(a, b) is 0/0
    189 Ouch!
    190 PASS foo(a, b) is 0/0
    191 Ouch!
    192 PASS foo(a, b) is 0/0
    193 Ouch!
    194 PASS foo(a, b) is 0/0
    195 Ouch!
    196 PASS foo(a, b) is 0/0
    197 Ouch!
    198 PASS foo(a, b) is 0/0
    199 Ouch!
    200 PASS foo(a, b) is 0/0
    201 Ouch!
    202 PASS foo(a, b) is 0/0
    203 Ouch!
    204 PASS foo(a, b) is 0/0
    205 Ouch!
    206 PASS foo(a, b) is 0/0
    207 Ouch!
    208 PASS foo(a, b) is 0/0
    209 Ouch!
    210 PASS foo(a, b) is 0/0
    211 Ouch!
    212 PASS foo(a, b) is 0/0
    213 Ouch!
    214 PASS foo(a, b) is 0/0
    215 Ouch!
    216 PASS foo(a, b) is 0/0
    217 Ouch!
    218 PASS foo(a, b) is 0/0
    219 Ouch!
    220 PASS foo(a, b) is 0/0
    221 Ouch!
    222 PASS foo(a, b) is 0/0
    223 Ouch!
    224 PASS foo(a, b) is 0/0
    225 Ouch!
    226 PASS foo(a, b) is 0/0
    227 Ouch!
    228 PASS foo(a, b) is 0/0
    229 Ouch!
    230 PASS foo(a, b) is 0/0
    231 Ouch!
    232 PASS foo(a, b) is 0/0
    233 Ouch!
    234 PASS foo(a, b) is 0/0
    235 Ouch!
    236 PASS foo(a, b) is 0/0
    237 Ouch!
    238 PASS foo(a, b) is 0/0
    239 Ouch!
    240 PASS foo(a, b) is 0/0
    241 Ouch!
    242 PASS foo(a, b) is 0/0
    243 Ouch!
    244 PASS foo(a, b) is 0/0
    245 Ouch!
    246 PASS foo(a, b) is 0/0
    247 Ouch!
    248 PASS foo(a, b) is 0/0
    249 Ouch!
    250 PASS foo(a, b) is 0/0
    251 Ouch!
    252 PASS foo(a, b) is 0/0
    253 Ouch!
    254 PASS foo(a, b) is 0/0
    255 Ouch!
    256 PASS foo(a, b) is 0/0
    257 Ouch!
    258 PASS foo(a, b) is 0/0
    259 Ouch!
    260 PASS foo(a, b) is 0/0
    261 Ouch!
    262 PASS foo(a, b) is 0/0
    263 Ouch!
    264 PASS foo(a, b) is 0/0
    265 Ouch!
    266 PASS foo(a, b) is 0/0
    267 Ouch!
    268 PASS foo(a, b) is 0/0
    269 Ouch!
    270 PASS foo(a, b) is 0/0
    271 Ouch!
    272 PASS foo(a, b) is 0/0
    273 Ouch!
    274 PASS foo(a, b) is 0/0
    275 Ouch!
    276 PASS foo(a, b) is 0/0
    277 Ouch!
    278 PASS foo(a, b) is 0/0
    279 PASS ouches is 50
    280 PASS successfullyParsed is true
    281 
    282 TEST COMPLETE
    283 
    284