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