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 loop codegen when the condition is a logical node. 25 26On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". 27 28 29PASS while_or_eq() is true 30PASS while_or_neq() is true 31PASS while_or_less() is true 32PASS while_or_lesseq() is true 33PASS while_and_eq() is true 34PASS while_and_neq() is true 35PASS while_and_less() is true 36PASS while_and_lesseq() is true 37PASS for_or_eq() is true 38PASS for_or_neq() is true 39PASS for_or_less() is true 40PASS for_or_lesseq() is true 41PASS for_and_eq() is true 42PASS for_and_neq() is true 43PASS for_and_less() is true 44PASS for_and_lesseq() is true 45PASS dowhile_or_eq() is true 46PASS dowhile_or_neq() is true 47PASS dowhile_or_less() is true 48PASS dowhile_or_lesseq() is true 49PASS dowhile_and_eq() is true 50PASS dowhile_and_neq() is true 51PASS dowhile_and_less() is true 52PASS dowhile_and_lesseq() is true 53PASS while_not_or_eq() is false 54PASS while_not_or_neq() is false 55PASS while_not_or_less() is false 56PASS while_not_or_lesseq() is false 57PASS while_not_and_eq() is false 58PASS while_not_and_neq() is false 59PASS while_not_and_less() is false 60PASS while_not_and_lesseq() is false 61PASS for_not_or_eq() is false 62PASS for_not_or_neq() is false 63PASS for_not_or_less() is false 64PASS for_not_or_lesseq() is false 65PASS for_not_and_eq() is false 66PASS for_not_and_neq() is false 67PASS for_not_and_less() is false 68PASS for_not_and_lesseq() is false 69PASS dowhile_not_or_eq() is false 70PASS dowhile_not_or_neq() is false 71PASS dowhile_not_or_less() is false 72PASS dowhile_not_or_lesseq() is false 73PASS dowhile_not_and_eq() is false 74PASS dowhile_not_and_neq() is false 75PASS dowhile_not_and_less() is false 76PASS dowhile_not_and_lesseq() is false 77PASS float_while_or_eq() is true 78PASS float_while_or_neq() is true 79PASS float_while_or_less() is true 80PASS float_while_or_lesseq() is true 81PASS float_while_and_eq() is true 82PASS float_while_and_neq() is true 83PASS float_while_and_less() is true 84PASS float_while_and_lesseq() is true 85PASS float_for_or_eq() is true 86PASS float_for_or_neq() is true 87PASS float_for_or_less() is true 88PASS float_for_or_lesseq() is true 89PASS float_for_and_eq() is true 90PASS float_for_and_neq() is true 91PASS float_for_and_less() is true 92PASS float_for_and_lesseq() is true 93PASS float_dowhile_or_eq() is true 94PASS float_dowhile_or_neq() is true 95PASS float_dowhile_or_less() is true 96PASS float_dowhile_or_lesseq() is true 97PASS float_dowhile_and_eq() is true 98PASS float_dowhile_and_neq() is true 99PASS float_dowhile_and_less() is true 100PASS float_dowhile_and_lesseq() is true 101PASS float_while_not_or_eq() is false 102PASS float_while_not_or_neq() is false 103PASS float_while_not_or_less() is false 104PASS float_while_not_or_lesseq() is false 105PASS float_while_not_and_eq() is false 106PASS float_while_not_and_neq() is false 107PASS float_while_not_and_less() is false 108PASS float_while_not_and_lesseq() is false 109PASS float_for_not_or_eq() is false 110PASS float_for_not_or_neq() is false 111PASS float_for_not_or_less() is false 112PASS float_for_not_or_lesseq() is false 113PASS float_for_not_and_eq() is false 114PASS float_for_not_and_neq() is false 115PASS float_for_not_and_less() is false 116PASS float_for_not_and_lesseq() is false 117PASS float_dowhile_not_or_eq() is false 118PASS float_dowhile_not_or_neq() is false 119PASS float_dowhile_not_or_less() is false 120PASS float_dowhile_not_or_lesseq() is false 121PASS float_dowhile_not_and_eq() is false 122PASS float_dowhile_not_and_neq() is false 123PASS float_dowhile_not_and_less() is false 124PASS successfullyParsed is true 125 126TEST COMPLETE 127 128