Title: [293623] trunk/Source/_javascript_Core
Revision
293623
Author
[email protected]
Date
2022-04-29 11:11:19 -0700 (Fri, 29 Apr 2022)

Log Message

Unreviewed, remove unused variable
https://bugs.webkit.org/show_bug.cgi?id=239828


* dfg/DFGGraph.cpp:
(JSC::DFG::Graph::methodOfGettingAValueProfileFor):

Modified Paths

Diff

Modified: trunk/Source/_javascript_Core/ChangeLog (293622 => 293623)


--- trunk/Source/_javascript_Core/ChangeLog	2022-04-29 18:08:24 UTC (rev 293622)
+++ trunk/Source/_javascript_Core/ChangeLog	2022-04-29 18:11:19 UTC (rev 293623)
@@ -1,3 +1,11 @@
+2022-04-29  Yusuke Suzuki  <[email protected]>
+
+        Unreviewed, remove unused variable
+        https://bugs.webkit.org/show_bug.cgi?id=239828
+
+        * dfg/DFGGraph.cpp:
+        (JSC::DFG::Graph::methodOfGettingAValueProfileFor):
+
 2022-04-27  Yusuke Suzuki  <[email protected]>
 
         [JSC] Make DFG::OSRExit data unlinked

Modified: trunk/Source/_javascript_Core/dfg/DFGGraph.cpp (293622 => 293623)


--- trunk/Source/_javascript_Core/dfg/DFGGraph.cpp	2022-04-29 18:08:24 UTC (rev 293622)
+++ trunk/Source/_javascript_Core/dfg/DFGGraph.cpp	2022-04-29 18:11:19 UTC (rev 293623)
@@ -1716,9 +1716,9 @@
                 return MethodOfGettingAValueProfile::bytecodeValueProfile(node->origin.semantic);
 
             if (profiledBlock->hasBaselineJITProfiling()) {
-                if (BinaryArithProfile* result = profiledBlock->binaryArithProfileForBytecodeIndex(node->origin.semantic.bytecodeIndex()))
+                if (profiledBlock->binaryArithProfileForBytecodeIndex(node->origin.semantic.bytecodeIndex()))
                     return MethodOfGettingAValueProfile::binaryArithProfile(node->origin.semantic);
-                if (UnaryArithProfile* result = profiledBlock->unaryArithProfileForBytecodeIndex(node->origin.semantic.bytecodeIndex()))
+                if (profiledBlock->unaryArithProfileForBytecodeIndex(node->origin.semantic.bytecodeIndex()))
                     return MethodOfGettingAValueProfile::unaryArithProfile(node->origin.semantic);
             }
         }
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to