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 what happens if we OSR exit on an assignment that was part of a side-effecting intrinsic.
     25 
     26 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
     27 
     28 
     29 PASS foo(array) is "bleh"
     30 PASS foo(array) is "bleh"
     31 PASS foo(array) is "bleh"
     32 PASS foo(array) is "bleh"
     33 PASS foo(array) is "bleh"
     34 PASS foo(array) is "bleh"
     35 PASS foo(array) is "bleh"
     36 PASS foo(array) is "bleh"
     37 PASS foo(array) is "bleh"
     38 PASS foo(array) is "bleh"
     39 PASS foo(array) is "bleh"
     40 PASS foo(array) is "bleh"
     41 PASS foo(array) is "bleh"
     42 PASS foo(array) is "bleh"
     43 PASS foo(array) is "bleh"
     44 PASS foo(array) is "bleh"
     45 PASS foo(array) is "bleh"
     46 PASS foo(array) is "bleh"
     47 PASS foo(array) is "bleh"
     48 PASS foo(array) is "bleh"
     49 PASS foo(array) is "bleh"
     50 PASS foo(array) is "bleh"
     51 PASS foo(array) is "bleh"
     52 PASS foo(array) is "bleh"
     53 PASS foo(array) is "bleh"
     54 PASS foo(array) is "bleh"
     55 PASS foo(array) is "bleh"
     56 PASS foo(array) is "bleh"
     57 PASS foo(array) is "bleh"
     58 PASS foo(array) is "bleh"
     59 PASS foo(array) is "bleh"
     60 PASS foo(array) is "bleh"
     61 PASS foo(array) is "bleh"
     62 PASS foo(array) is "bleh"
     63 PASS foo(array) is "bleh"
     64 PASS foo(array) is "bleh"
     65 PASS foo(array) is "bleh"
     66 PASS foo(array) is "bleh"
     67 PASS foo(array) is "bleh"
     68 PASS foo(array) is "bleh"
     69 PASS foo(array) is "bleh"
     70 PASS foo(array) is "bleh"
     71 PASS foo(array) is "bleh"
     72 PASS foo(array) is "bleh"
     73 PASS foo(array) is "bleh"
     74 PASS foo(array) is "bleh"
     75 PASS foo(array) is "bleh"
     76 PASS foo(array) is "bleh"
     77 PASS foo(array) is "bleh"
     78 PASS foo(array) is "bleh"
     79 PASS foo(array) is "bleh"
     80 PASS foo(array) is "bleh"
     81 PASS foo(array) is "bleh"
     82 PASS foo(array) is "bleh"
     83 PASS foo(array) is "bleh"
     84 PASS foo(array) is "bleh"
     85 PASS foo(array) is "bleh"
     86 PASS foo(array) is "bleh"
     87 PASS foo(array) is "bleh"
     88 PASS foo(array) is "bleh"
     89 PASS foo(array) is "bleh"
     90 PASS foo(array) is "bleh"
     91 PASS foo(array) is "bleh"
     92 PASS foo(array) is "bleh"
     93 PASS foo(array) is "bleh"
     94 PASS foo(array) is "bleh"
     95 PASS foo(array) is "bleh"
     96 PASS foo(array) is "bleh"
     97 PASS foo(array) is "bleh"
     98 PASS foo(array) is "bleh"
     99 PASS foo(array) is "bleh"
    100 PASS foo(array) is "bleh"
    101 PASS foo(array) is "bleh"
    102 PASS foo(array) is "bleh"
    103 PASS foo(array) is "bleh"
    104 PASS foo(array) is "bleh"
    105 PASS foo(array) is "bleh"
    106 PASS foo(array) is "bleh"
    107 PASS foo(array) is "bleh"
    108 PASS foo(array) is "bleh"
    109 PASS foo(array) is "bleh"
    110 PASS foo(array) is "bleh"
    111 PASS foo(array) is "bleh"
    112 PASS foo(array) is "bleh"
    113 PASS foo(array) is "bleh"
    114 PASS foo(array) is "bleh"
    115 PASS foo(array) is "bleh"
    116 PASS foo(array) is "bleh"
    117 PASS foo(array) is "bleh"
    118 PASS foo(array) is "bleh"
    119 PASS foo(array) is "bleh"
    120 PASS foo(array) is "bleh"
    121 PASS foo(array) is "bleh"
    122 PASS foo(array) is "bleh"
    123 PASS foo(array) is "bleh"
    124 PASS foo(array) is "bleh"
    125 PASS foo(array) is "bleh"
    126 PASS foo(array) is "bleh"
    127 PASS foo(array) is "bleh"
    128 PASS foo(array) is "bleh"
    129 PASS foo(array) is "bleh"
    130 PASS foo(array) is "bleh"
    131 PASS foo(array) is "bleh"
    132 PASS foo(array) is "bleh"
    133 PASS foo(array) is "bleh"
    134 PASS foo(array) is "bleh"
    135 PASS foo(array) is "bleh"
    136 PASS foo(array) is "bleh"
    137 PASS foo(array) is "bleh"
    138 PASS foo(array) is "bleh"
    139 PASS foo(array) is "bleh"
    140 PASS foo(array) is "bleh"
    141 PASS foo(array) is "bleh"
    142 PASS foo(array) is "bleh"
    143 PASS foo(array) is "bleh"
    144 PASS foo(array) is "bleh"
    145 PASS foo(array) is "bleh"
    146 PASS foo(array) is "bleh"
    147 PASS foo(array) is "bleh"
    148 PASS foo(array) is "bleh"
    149 PASS foo(array) is "bleh"
    150 PASS foo(array) is "bleh"
    151 PASS foo(array) is "bleh"
    152 PASS foo(array) is "bleh"
    153 PASS foo(array) is "bleh"
    154 PASS foo(array) is "bleh"
    155 PASS foo(array) is "bleh"
    156 PASS foo(array) is "bleh"
    157 PASS foo(array) is "bleh"
    158 PASS foo(array) is "bleh"
    159 PASS foo(array) is "bleh"
    160 PASS foo(array) is "bleh"
    161 PASS foo(array) is "bleh"
    162 PASS foo(array) is "bleh"
    163 PASS foo(array) is "bleh"
    164 PASS foo(array) is "bleh"
    165 PASS foo(array) is "bleh"
    166 PASS foo(array) is "bleh"
    167 PASS foo(array) is "bleh"
    168 PASS foo(array) is "bleh"
    169 PASS foo(array) is "bleh"
    170 PASS foo(array) is "bleh"
    171 PASS foo(array) is "bleh"
    172 PASS foo(array) is "bleh"
    173 PASS foo(array) is "bleh"
    174 PASS foo(array) is "bleh"
    175 PASS foo(array) is "bleh"
    176 PASS foo(array) is "bleh"
    177 PASS foo(array) is "bleh"
    178 PASS foo(array) is "bleh"
    179 PASS foo(array) is "bleh"
    180 PASS foo(array) is "bleh"
    181 PASS foo(array) is "bleh"
    182 PASS foo(array) is "bleh"
    183 PASS foo(array) is "bleh"
    184 PASS foo(array) is "bleh"
    185 PASS foo(array) is "bleh"
    186 PASS foo(array) is "bleh"
    187 PASS foo(array) is "bleh"
    188 PASS foo(array) is "bleh"
    189 PASS foo(array) is "bleh"
    190 PASS foo(array) is "bleh"
    191 PASS foo(array) is "bleh"
    192 PASS foo(array) is "bleh"
    193 PASS foo(array) is "bleh"
    194 PASS foo(array) is "bleh"
    195 PASS foo(array) is "bleh"
    196 PASS foo(array) is "bleh"
    197 PASS foo(array) is "bleh"
    198 PASS foo(array) is "bleh"
    199 PASS foo(array) is "bleh"
    200 PASS foo(array) is "bleh"
    201 PASS foo(array) is "bleh"
    202 PASS foo(array) is "bleh"
    203 PASS foo(array) is "bleh"
    204 PASS foo(array) is "bleh"
    205 PASS foo(array) is "bleh"
    206 PASS foo(array) is "bleh"
    207 PASS foo(array) is "bleh"
    208 PASS foo(array) is "bleh"
    209 PASS foo(array) is "bleh"
    210 PASS foo(array) is "bleh"
    211 PASS foo(array) is "bleh"
    212 PASS foo(array) is "bleh"
    213 PASS foo(array) is "bleh"
    214 PASS foo(array) is "bleh"
    215 PASS foo(array) is "bleh"
    216 PASS foo(array) is "bleh"
    217 PASS foo(array) is "bleh"
    218 PASS foo(array) is "bleh"
    219 PASS foo(array) is "bleh"
    220 PASS foo(array) is "bleh"
    221 PASS foo(array) is "bleh"
    222 PASS foo(array) is "bleh"
    223 PASS foo(array) is "bleh"
    224 PASS foo(array) is "bleh"
    225 PASS foo(array) is "bleh"
    226 PASS foo(array) is "bleh"
    227 PASS foo(array) is "bleh"
    228 PASS foo(array) is "bleh"
    229 PASS foo(array) is "bleh"
    230 PASS foo(array) is "bleh"
    231 PASS foo(array) is "bleh"
    232 PASS foo(array) is "bleh"
    233 PASS foo(array) is "bleh"
    234 PASS foo(array) is "bleh"
    235 PASS foo(array) is "bleh"
    236 PASS foo(array) is "bleh"
    237 PASS foo(array) is "bleh"
    238 PASS foo(array) is "bleh"
    239 PASS foo(array) is "bleh"
    240 PASS foo(array) is "bleh"
    241 PASS foo(array) is "bleh"
    242 PASS foo(array) is "bleh"
    243 PASS foo(array) is "bleh"
    244 PASS foo(array) is "bleh"
    245 PASS foo(array) is "bleh"
    246 PASS foo(array) is "bleh"
    247 PASS foo(array) is "bleh"
    248 PASS foo(array) is "bleh"
    249 PASS foo(array) is "bleh"
    250 PASS foo(array) is "bleh"
    251 PASS foo(array) is "bleh"
    252 PASS foo(array) is "bleh"
    253 PASS foo(array) is "bleh"
    254 PASS foo(array) is "bleh"
    255 PASS foo(array) is "bleh"
    256 PASS foo(array) is "bleh"
    257 PASS foo(array) is "bleh"
    258 PASS foo(array) is "bleh"
    259 PASS foo(array) is "bleh"
    260 PASS foo(array) is "bleh"
    261 PASS foo(array) is "bleh"
    262 PASS foo(array) is "bleh"
    263 PASS foo(array) is "bleh"
    264 PASS foo(array) is "bleh"
    265 PASS foo(array) is "bleh"
    266 PASS foo(array) is "bleh"
    267 PASS foo(array) is "bleh"
    268 PASS foo(array) is "bleh"
    269 PASS foo(array) is "bleh"
    270 PASS foo(array) is "bleh"
    271 PASS foo(array) is "bleh"
    272 PASS foo(array) is "bleh"
    273 PASS foo(array) is "bleh"
    274 PASS foo(array) is "bleh"
    275 PASS foo(array) is "bleh"
    276 PASS foo(array) is "bleh"
    277 PASS foo(array) is "bleh"
    278 PASS foo(array) is "bleh"
    279 PASS foo(array) is "bleh"
    280 PASS foo(array) is "bleh"
    281 PASS foo(array) is "bleh"
    282 PASS foo(array) is "bleh"
    283 PASS foo(array) is "bleh"
    284 PASS foo(array) is "bleh"
    285 PASS foo(array) is "bleh"
    286 PASS foo(array) is "bleh"
    287 PASS foo(array) is "bleh"
    288 PASS foo(array) is "bleh"
    289 PASS foo(array) is "bleh"
    290 PASS foo(array) is "bleh"
    291 PASS foo(array) is "bleh"
    292 PASS foo(array) is "bleh"
    293 PASS foo(array) is "bleh"
    294 PASS foo(array) is "bleh"
    295 PASS foo(array) is "bleh"
    296 PASS foo(array) is "bleh"
    297 PASS foo(array) is "bleh"
    298 PASS foo(array) is "bleh"
    299 PASS foo(array) is "bleh"
    300 PASS foo(array) is "bleh"
    301 PASS foo(array) is "bleh"
    302 PASS foo(array) is "bleh"
    303 PASS foo(array) is "bleh"
    304 PASS foo(array) is "bleh"
    305 PASS foo(array) is "bleh"
    306 PASS foo(array) is "bleh"
    307 PASS foo(array) is "bleh"
    308 PASS foo(array) is "bleh"
    309 PASS foo(array) is "bleh"
    310 PASS foo(array) is "bleh"
    311 PASS foo(array) is "bleh"
    312 PASS foo(array) is "bleh"
    313 PASS foo(array) is "bleh"
    314 PASS foo(array) is "bleh"
    315 PASS foo(array) is "bleh"
    316 PASS foo(array) is "bleh"
    317 PASS foo(array) is "bleh"
    318 PASS foo(array) is "bleh"
    319 PASS foo(array) is "bleh"
    320 PASS foo(array) is "bleh"
    321 PASS foo(array) is "bleh"
    322 PASS foo(array) is "bleh"
    323 PASS foo(array) is "bleh"
    324 PASS foo(array) is "bleh"
    325 PASS foo(array) is "bleh"
    326 PASS foo(array) is "bleh"
    327 PASS foo(array) is "bleh"
    328 PASS foo(array) is "bleh"
    329 PASS foo(array) is "bleh"
    330 PASS foo(array) is "bleh"
    331 PASS foo(array) is "bleh"
    332 PASS foo(array) is "bleh"
    333 PASS foo(array) is "bleh"
    334 PASS foo(array) is "bleh"
    335 PASS foo(array) is "bleh"
    336 PASS foo(array) is "bleh"
    337 PASS foo(array) is "bleh"
    338 PASS foo(array) is "bleh"
    339 PASS foo(array) is "bleh"
    340 PASS foo(array) is "bleh"
    341 PASS foo(array) is "bleh"
    342 PASS foo(array) is "bleh"
    343 PASS foo(array) is "bleh"
    344 PASS foo(array) is "bleh"
    345 PASS foo(array) is "bleh"
    346 PASS foo(array) is "bleh"
    347 PASS foo(array) is "bleh"
    348 PASS foo(array) is "bleh"
    349 PASS foo(array) is "bleh"
    350 PASS foo(array) is "bleh"
    351 PASS foo(array) is "bleh"
    352 PASS foo(array) is "bleh"
    353 PASS foo(array) is "bleh"
    354 PASS foo(array) is "bleh"
    355 PASS foo(array) is "bleh"
    356 PASS foo(array) is "bleh"
    357 PASS foo(array) is "bleh"
    358 PASS foo(array) is "bleh"
    359 PASS foo(array) is "bleh"
    360 PASS foo(array) is "bleh"
    361 PASS foo(array) is "bleh"
    362 PASS foo(array) is "bleh"
    363 PASS foo(array) is "bleh"
    364 PASS foo(array) is "bleh"
    365 PASS foo(array) is "bleh"
    366 PASS foo(array) is "bleh"
    367 PASS foo(array) is "bleh"
    368 PASS foo(array) is "bleh"
    369 PASS foo(array) is "bleh"
    370 PASS foo(array) is "bleh"
    371 PASS foo(array) is "bleh"
    372 PASS foo(array) is "bleh"
    373 PASS foo(array) is "bleh"
    374 PASS foo(array) is "bleh"
    375 PASS foo(array) is "bleh"
    376 PASS foo(array) is "bleh"
    377 PASS foo(array) is "bleh"
    378 PASS foo(array) is "bleh"
    379 PASS foo(array) is "bleh"
    380 PASS foo(array) is "bleh"
    381 PASS foo(array) is "bleh"
    382 PASS foo(array) is "bleh"
    383 PASS foo(array) is "bleh"
    384 PASS foo(array) is "bleh"
    385 PASS foo(array) is "bleh"
    386 PASS foo(array) is "bleh"
    387 PASS foo(array) is "bleh"
    388 PASS foo(array) is "bleh"
    389 PASS foo(array) is "bleh"
    390 PASS foo(array) is "bleh"
    391 PASS foo(array) is "bleh"
    392 PASS foo(array) is "bleh"
    393 PASS foo(array) is "bleh"
    394 PASS foo(array) is "bleh"
    395 PASS foo(array) is "bleh"
    396 PASS foo(array) is "bleh"
    397 PASS foo(array) is "bleh"
    398 PASS foo(array) is "bleh"
    399 PASS foo(array) is "bleh"
    400 PASS foo(array) is "bleh"
    401 PASS foo(array) is "bleh"
    402 PASS foo(array) is "bleh"
    403 PASS foo(array) is "bleh"
    404 PASS foo(array) is "bleh"
    405 PASS foo(array) is "bleh"
    406 PASS foo(array) is "bleh"
    407 PASS foo(array) is "bleh"
    408 PASS foo(array) is "bleh"
    409 PASS foo(array) is "bleh"
    410 PASS foo(array) is "bleh"
    411 PASS foo(array) is "bleh"
    412 PASS foo(array) is "bleh"
    413 PASS foo(array) is "bleh"
    414 PASS foo(array) is "bleh"
    415 PASS foo(array) is "bleh"
    416 PASS foo(array) is "bleh"
    417 PASS foo(array) is "bleh"
    418 PASS foo(array) is "bleh"
    419 PASS foo(array) is "bleh"
    420 PASS foo(array) is "bleh"
    421 PASS foo(array) is "bleh"
    422 PASS foo(array) is "bleh"
    423 PASS foo(array) is "bleh"
    424 PASS foo(array) is "bleh"
    425 PASS foo(array) is "bleh"
    426 PASS foo(array) is "bleh"
    427 PASS foo(array) is "bleh"
    428 PASS foo(array) is "bleh"
    429 PASS foo(array) is "bleh"
    430 PASS foo(array) is "bleh"
    431 PASS foo(array) is "bleh"
    432 PASS foo(array) is "bleh"
    433 PASS foo(array) is "bleh"
    434 PASS foo(array) is "bleh"
    435 PASS foo(array) is "bleh"
    436 PASS foo(array) is "bleh"
    437 PASS foo(array) is "bleh"
    438 PASS foo(array) is "bleh"
    439 PASS foo(array) is "bleh"
    440 PASS foo(array) is "bleh"
    441 PASS foo(array) is "bleh"
    442 PASS foo(array) is "bleh"
    443 PASS foo(array) is "bleh"
    444 PASS foo(array) is "bleh"
    445 PASS foo(array) is "bleh"
    446 PASS foo(array) is "bleh"
    447 PASS foo(array) is "bleh"
    448 PASS foo(array) is "bleh"
    449 PASS foo(array) is "bleh"
    450 PASS foo(array) is "bleh"
    451 PASS foo(array) is "bleh"
    452 PASS foo(array) is "bleh"
    453 PASS foo(array) is "bleh"
    454 PASS foo(array) is "bleh"
    455 PASS foo(array) is "bleh"
    456 PASS foo(array) is "bleh"
    457 PASS foo(array) is "bleh"
    458 PASS foo(array) is "bleh"
    459 PASS foo(array) is "bleh"
    460 PASS foo(array) is "bleh"
    461 PASS foo(array) is "bleh"
    462 PASS foo(array) is "bleh"
    463 PASS foo(array) is "bleh"
    464 PASS foo(array) is "bleh"
    465 PASS foo(array) is "bleh"
    466 PASS foo(array) is "bleh"
    467 PASS foo(array) is "bleh"
    468 PASS foo(array) is "bleh"
    469 PASS foo(array) is "bleh"
    470 PASS foo(array) is "bleh"
    471 PASS foo(array) is "bleh"
    472 PASS foo(array) is "bleh"
    473 PASS foo(array) is "bleh"
    474 PASS foo(array) is "bleh"
    475 PASS foo(array) is "bleh"
    476 PASS foo(array) is "bleh"
    477 PASS foo(array) is "bleh"
    478 PASS foo(array) is "bleh"
    479 PASS foo(array) is 2
    480 PASS foo(array) is 2
    481 PASS foo(array) is 2
    482 PASS foo(array) is 2
    483 PASS foo(array) is 2
    484 PASS foo(array) is 2
    485 PASS foo(array) is 2
    486 PASS foo(array) is 2
    487 PASS foo(array) is 2
    488 PASS foo(array) is 2
    489 PASS foo(array) is 2
    490 PASS foo(array) is 2
    491 PASS foo(array) is 2
    492 PASS foo(array) is 2
    493 PASS foo(array) is 2
    494 PASS foo(array) is 2
    495 PASS foo(array) is 2
    496 PASS foo(array) is 2
    497 PASS foo(array) is 2
    498 PASS foo(array) is 2
    499 PASS foo(array) is 2
    500 PASS foo(array) is 2
    501 PASS foo(array) is 2
    502 PASS foo(array) is 2
    503 PASS foo(array) is 2
    504 PASS foo(array) is 2
    505 PASS foo(array) is 2
    506 PASS foo(array) is 2
    507 PASS foo(array) is 2
    508 PASS foo(array) is 2
    509 PASS foo(array) is 2
    510 PASS foo(array) is 2
    511 PASS foo(array) is 2
    512 PASS foo(array) is 2
    513 PASS foo(array) is 2
    514 PASS foo(array) is 2
    515 PASS foo(array) is 2
    516 PASS foo(array) is 2
    517 PASS foo(array) is 2
    518 PASS foo(array) is 2
    519 PASS foo(array) is 2
    520 PASS foo(array) is 2
    521 PASS foo(array) is 2
    522 PASS foo(array) is 2
    523 PASS foo(array) is 2
    524 PASS foo(array) is 2
    525 PASS foo(array) is 2
    526 PASS foo(array) is 2
    527 PASS foo(array) is 2
    528 PASS foo(array) is 2
    529 PASS successfullyParsed is true
    530 
    531 TEST COMPLETE
    532 
    533