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