156454717593e7552d6846198b8e0f661fa36a3cayangguo@chromium.org// Copyright 2012 the V8 project authors. All rights reserved.
256454717593e7552d6846198b8e0f661fa36a3cayangguo@chromium.org// Redistribution and use in source and binary forms, with or without
356454717593e7552d6846198b8e0f661fa36a3cayangguo@chromium.org// modification, are permitted provided that the following conditions are
456454717593e7552d6846198b8e0f661fa36a3cayangguo@chromium.org// met:
556454717593e7552d6846198b8e0f661fa36a3cayangguo@chromium.org//
656454717593e7552d6846198b8e0f661fa36a3cayangguo@chromium.org//     * Redistributions of source code must retain the above copyright
756454717593e7552d6846198b8e0f661fa36a3cayangguo@chromium.org//       notice, this list of conditions and the following disclaimer.
856454717593e7552d6846198b8e0f661fa36a3cayangguo@chromium.org//     * Redistributions in binary form must reproduce the above
956454717593e7552d6846198b8e0f661fa36a3cayangguo@chromium.org//       copyright notice, this list of conditions and the following
1056454717593e7552d6846198b8e0f661fa36a3cayangguo@chromium.org//       disclaimer in the documentation and/or other materials provided
1156454717593e7552d6846198b8e0f661fa36a3cayangguo@chromium.org//       with the distribution.
1256454717593e7552d6846198b8e0f661fa36a3cayangguo@chromium.org//     * Neither the name of Google Inc. nor the names of its
1356454717593e7552d6846198b8e0f661fa36a3cayangguo@chromium.org//       contributors may be used to endorse or promote products derived
1456454717593e7552d6846198b8e0f661fa36a3cayangguo@chromium.org//       from this software without specific prior written permission.
1556454717593e7552d6846198b8e0f661fa36a3cayangguo@chromium.org//
1656454717593e7552d6846198b8e0f661fa36a3cayangguo@chromium.org// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
1756454717593e7552d6846198b8e0f661fa36a3cayangguo@chromium.org// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
1856454717593e7552d6846198b8e0f661fa36a3cayangguo@chromium.org// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
1956454717593e7552d6846198b8e0f661fa36a3cayangguo@chromium.org// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
2056454717593e7552d6846198b8e0f661fa36a3cayangguo@chromium.org// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
2156454717593e7552d6846198b8e0f661fa36a3cayangguo@chromium.org// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
2256454717593e7552d6846198b8e0f661fa36a3cayangguo@chromium.org// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
2356454717593e7552d6846198b8e0f661fa36a3cayangguo@chromium.org// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
2456454717593e7552d6846198b8e0f661fa36a3cayangguo@chromium.org// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
2556454717593e7552d6846198b8e0f661fa36a3cayangguo@chromium.org// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
2656454717593e7552d6846198b8e0f661fa36a3cayangguo@chromium.org// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2756454717593e7552d6846198b8e0f661fa36a3cayangguo@chromium.org
2856454717593e7552d6846198b8e0f661fa36a3cayangguo@chromium.orgvar count=12000;
2956454717593e7552d6846198b8e0f661fa36a3cayangguo@chromium.orgwhile(count--) {
3056454717593e7552d6846198b8e0f661fa36a3cayangguo@chromium.org  eval("var a = new Object(10); a[2] += 7;");
3156454717593e7552d6846198b8e0f661fa36a3cayangguo@chromium.org}
32