DFG Branch(LogicalNot) peephole should not try to optimize and work-around the case where LogicalNot may be otherwise live
https://bugs.webkit.org/show_bug.cgi?id=111209

Reviewed by Oliver Hunt.
        
Even if it is then everything will work just fine. It's not necessary to check the ref count here.

* dfg/DFGFixupPhase.cpp:
(JSC::DFG::FixupPhase::fixupNode):



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@144486 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/Source/JavaScriptCore/dfg/DFGFixupPhase.cpp b/Source/JavaScriptCore/dfg/DFGFixupPhase.cpp
index 603ea43..887dac3 100644
--- a/Source/JavaScriptCore/dfg/DFGFixupPhase.cpp
+++ b/Source/JavaScriptCore/dfg/DFGFixupPhase.cpp
@@ -493,8 +493,7 @@
                 fixDoubleEdge<NumberUse>(node->child1());
 
             Node* logicalNot = node->child1().node();
-            if (logicalNot->op() == LogicalNot
-                && logicalNot->adjustedRefCount() == 1) {
+            if (logicalNot->op() == LogicalNot) {
                 
                 // Make sure that OSR exit can't observe the LogicalNot. If it can,
                 // then we must compute it and cannot peephole around it.