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