OLD | NEW |
(Empty) | |
| 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 that the peephole CompareEq optimization for the case where one side is pr
edicted final object and the other side is predicted either final object or othe
r (i.e. null or undefined) doesn't assert when both sides are also proven final
object. |
| 25 |
| 26 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
| 27 |
| 28 |
| 29 PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of nu
ll. |
| 30 PASS foo(o, o) is [42, 42, true] |
| 31 PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of nu
ll. |
| 32 PASS foo(o, o) is [42, 42, true] |
| 33 PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of nu
ll. |
| 34 PASS foo(o, o) is [42, 42, true] |
| 35 PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of nu
ll. |
| 36 PASS foo(o, o) is [42, 42, true] |
| 37 PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of nu
ll. |
| 38 PASS foo(o, o) is [42, 42, true] |
| 39 PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of nu
ll. |
| 40 PASS foo(o, o) is [42, 42, true] |
| 41 PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of nu
ll. |
| 42 PASS foo(o, o) is [42, 42, true] |
| 43 PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of nu
ll. |
| 44 PASS foo(o, o) is [42, 42, true] |
| 45 PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of nu
ll. |
| 46 PASS foo(o, o) is [42, 42, true] |
| 47 PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of nu
ll. |
| 48 PASS foo(o, o) is [42, 42, true] |
| 49 PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of nu
ll. |
| 50 PASS foo(o, o) is [42, 42, true] |
| 51 PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of nu
ll. |
| 52 PASS foo(o, o) is [42, 42, true] |
| 53 PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of nu
ll. |
| 54 PASS foo(o, o) is [42, 42, true] |
| 55 PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of nu
ll. |
| 56 PASS foo(o, o) is [42, 42, true] |
| 57 PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of nu
ll. |
| 58 PASS foo(o, o) is [42, 42, true] |
| 59 PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of nu
ll. |
| 60 PASS foo(o, o) is [42, 42, true] |
| 61 PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of nu
ll. |
| 62 PASS foo(o, o) is [42, 42, true] |
| 63 PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of nu
ll. |
| 64 PASS foo(o, o) is [42, 42, true] |
| 65 PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of nu
ll. |
| 66 PASS foo(o, o) is [42, 42, true] |
| 67 PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of nu
ll. |
| 68 PASS foo(o, o) is [42, 42, true] |
| 69 PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of nu
ll. |
| 70 PASS foo(o, o) is [42, 42, true] |
| 71 PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of nu
ll. |
| 72 PASS foo(o, o) is [42, 42, true] |
| 73 PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of nu
ll. |
| 74 PASS foo(o, o) is [42, 42, true] |
| 75 PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of nu
ll. |
| 76 PASS foo(o, o) is [42, 42, true] |
| 77 PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of nu
ll. |
| 78 PASS foo(o, o) is [42, 42, true] |
| 79 PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of nu
ll. |
| 80 PASS foo(o, o) is [42, 42, true] |
| 81 PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of nu
ll. |
| 82 PASS foo(o, o) is [42, 42, true] |
| 83 PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of nu
ll. |
| 84 PASS foo(o, o) is [42, 42, true] |
| 85 PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of nu
ll. |
| 86 PASS foo(o, o) is [42, 42, true] |
| 87 PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of nu
ll. |
| 88 PASS foo(o, o) is [42, 42, true] |
| 89 PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of nu
ll. |
| 90 PASS foo(o, o) is [42, 42, true] |
| 91 PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of nu
ll. |
| 92 PASS foo(o, o) is [42, 42, true] |
| 93 PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of nu
ll. |
| 94 PASS foo(o, o) is [42, 42, true] |
| 95 PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of nu
ll. |
| 96 PASS foo(o, o) is [42, 42, true] |
| 97 PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of nu
ll. |
| 98 PASS foo(o, o) is [42, 42, true] |
| 99 PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of nu
ll. |
| 100 PASS foo(o, o) is [42, 42, true] |
| 101 PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of nu
ll. |
| 102 PASS foo(o, o) is [42, 42, true] |
| 103 PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of nu
ll. |
| 104 PASS foo(o, o) is [42, 42, true] |
| 105 PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of nu
ll. |
| 106 PASS foo(o, o) is [42, 42, true] |
| 107 PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of nu
ll. |
| 108 PASS foo(o, o) is [42, 42, true] |
| 109 PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of nu
ll. |
| 110 PASS foo(o, o) is [42, 42, true] |
| 111 PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of nu
ll. |
| 112 PASS foo(o, o) is [42, 42, true] |
| 113 PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of nu
ll. |
| 114 PASS foo(o, o) is [42, 42, true] |
| 115 PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of nu
ll. |
| 116 PASS foo(o, o) is [42, 42, true] |
| 117 PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of nu
ll. |
| 118 PASS foo(o, o) is [42, 42, true] |
| 119 PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of nu
ll. |
| 120 PASS foo(o, o) is [42, 42, true] |
| 121 PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of nu
ll. |
| 122 PASS foo(o, o) is [42, 42, true] |
| 123 PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of nu
ll. |
| 124 PASS foo(o, o) is [42, 42, true] |
| 125 PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of nu
ll. |
| 126 PASS foo(o, o) is [42, 42, true] |
| 127 PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of nu
ll. |
| 128 PASS foo(o, o) is [42, 42, true] |
| 129 PASS successfullyParsed is true |
| 130 |
| 131 TEST COMPLETE |
| 132 |
OLD | NEW |