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