From b95a68273057f3bbf58eb0a3e8d47ae74a48c066 Mon Sep 17 00:00:00 2001 From: kzc Date: Sat, 2 Apr 2016 11:15:44 -0400 Subject: [PATCH] reintroduce minus sign in a ternary test --- test/compress/conditionals.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/compress/conditionals.js b/test/compress/conditionals.js index bfe01794..f5eeb6f2 100644 --- a/test/compress/conditionals.js +++ b/test/compress/conditionals.js @@ -344,7 +344,7 @@ cond_8: { a = condition ? !0 : !1; a = !condition ? !null : !2; - a = condition() ? !0 : !3.5; + a = condition() ? !0 : !-3.5; if (condition) { a = true; @@ -428,7 +428,7 @@ cond_8b: { a = condition ? !0 : !1; a = !condition ? !null : !2; - a = condition() ? !0 : !3.5; + a = condition() ? !0 : !-3.5; if (condition) { a = true; @@ -511,7 +511,7 @@ cond_8c: { a = condition ? !0 : !1; a = !condition ? !null : !2; - a = condition() ? !0 : !3.5; + a = condition() ? !0 : !-3.5; if (condition) { a = true; @@ -557,7 +557,7 @@ cond_8c: { a = !!condition; a = !condition; - a = !!condition(); + a = !!condition() || !-3.5; a = !!condition; a = !!condition;