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