• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 the DFG checks that the toString method didn't become bad even if the StringObject already had a CheckStructure.
25
26On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
27
28
29PASS foo.call(new String("foo")) is "foo"
30PASS foo.call(new String("foo")) is "foo"
31PASS foo.call(new String("foo")) is "foo"
32PASS foo.call(new String("foo")) is "foo"
33PASS foo.call(new String("foo")) is "foo"
34PASS foo.call(new String("foo")) is "foo"
35PASS foo.call(new String("foo")) is "foo"
36PASS foo.call(new String("foo")) is "foo"
37PASS foo.call(new String("foo")) is "foo"
38PASS foo.call(new String("foo")) is "foo"
39PASS foo.call(new String("foo")) is "foo"
40PASS foo.call(new String("foo")) is "foo"
41PASS foo.call(new String("foo")) is "foo"
42PASS foo.call(new String("foo")) is "foo"
43PASS foo.call(new String("foo")) is "foo"
44PASS foo.call(new String("foo")) is "foo"
45PASS foo.call(new String("foo")) is "foo"
46PASS foo.call(new String("foo")) is "foo"
47PASS foo.call(new String("foo")) is "foo"
48PASS foo.call(new String("foo")) is "foo"
49PASS foo.call(new String("foo")) is "foo"
50PASS foo.call(new String("foo")) is "foo"
51PASS foo.call(new String("foo")) is "foo"
52PASS foo.call(new String("foo")) is "foo"
53PASS foo.call(new String("foo")) is "foo"
54PASS foo.call(new String("foo")) is "foo"
55PASS foo.call(new String("foo")) is "foo"
56PASS foo.call(new String("foo")) is "foo"
57PASS foo.call(new String("foo")) is "foo"
58PASS foo.call(new String("foo")) is "foo"
59PASS foo.call(new String("foo")) is "foo"
60PASS foo.call(new String("foo")) is "foo"
61PASS foo.call(new String("foo")) is "foo"
62PASS foo.call(new String("foo")) is "foo"
63PASS foo.call(new String("foo")) is "foo"
64PASS foo.call(new String("foo")) is "foo"
65PASS foo.call(new String("foo")) is "foo"
66PASS foo.call(new String("foo")) is "foo"
67PASS foo.call(new String("foo")) is "foo"
68PASS foo.call(new String("foo")) is "foo"
69PASS foo.call(new String("foo")) is "foo"
70PASS foo.call(new String("foo")) is "foo"
71PASS foo.call(new String("foo")) is "foo"
72PASS foo.call(new String("foo")) is "foo"
73PASS foo.call(new String("foo")) is "foo"
74PASS foo.call(new String("foo")) is "foo"
75PASS foo.call(new String("foo")) is "foo"
76PASS foo.call(new String("foo")) is "foo"
77PASS foo.call(new String("foo")) is "foo"
78PASS foo.call(new String("foo")) is "foo"
79PASS foo.call(new String("foo")) is "foo"
80PASS foo.call(new String("foo")) is "foo"
81PASS foo.call(new String("foo")) is "foo"
82PASS foo.call(new String("foo")) is "foo"
83PASS foo.call(new String("foo")) is "foo"
84PASS foo.call(new String("foo")) is "foo"
85PASS foo.call(new String("foo")) is "foo"
86PASS foo.call(new String("foo")) is "foo"
87PASS foo.call(new String("foo")) is "foo"
88PASS foo.call(new String("foo")) is "foo"
89PASS foo.call(new String("foo")) is "foo"
90PASS foo.call(new String("foo")) is "foo"
91PASS foo.call(new String("foo")) is "foo"
92PASS foo.call(new String("foo")) is "foo"
93PASS foo.call(new String("foo")) is "foo"
94PASS foo.call(new String("foo")) is "foo"
95PASS foo.call(new String("foo")) is "foo"
96PASS foo.call(new String("foo")) is "foo"
97PASS foo.call(new String("foo")) is "foo"
98PASS foo.call(new String("foo")) is "foo"
99PASS foo.call(new String("foo")) is "foo"
100PASS foo.call(new String("foo")) is "foo"
101PASS foo.call(new String("foo")) is "foo"
102PASS foo.call(new String("foo")) is "foo"
103PASS foo.call(new String("foo")) is "foo"
104PASS foo.call(new String("foo")) is "foo"
105PASS foo.call(new String("foo")) is "foo"
106PASS foo.call(new String("foo")) is "foo"
107PASS foo.call(new String("foo")) is "foo"
108PASS foo.call(new String("foo")) is "foo"
109PASS foo.call(new String("foo")) is "foo"
110PASS foo.call(new String("foo")) is "foo"
111PASS foo.call(new String("foo")) is "foo"
112PASS foo.call(new String("foo")) is "foo"
113PASS foo.call(new String("foo")) is "foo"
114PASS foo.call(new String("foo")) is "foo"
115PASS foo.call(new String("foo")) is "foo"
116PASS foo.call(new String("foo")) is "foo"
117PASS foo.call(new String("foo")) is "foo"
118PASS foo.call(new String("foo")) is "foo"
119PASS foo.call(new String("foo")) is "foo"
120PASS foo.call(new String("foo")) is "foo"
121PASS foo.call(new String("foo")) is "foo"
122PASS foo.call(new String("foo")) is "foo"
123PASS foo.call(new String("foo")) is "foo"
124PASS foo.call(new String("foo")) is "foo"
125PASS foo.call(new String("foo")) is "foo"
126PASS foo.call(new String("foo")) is "foo"
127PASS foo.call(new String("foo")) is "foo"
128PASS foo.call(new String("foo")) is "42"
129PASS successfullyParsed is true
130
131TEST COMPLETE
132
133