Title: [289175] trunk/Source/_javascript_Core
Revision
289175
Author
[email protected]
Date
2022-02-06 12:04:19 -0800 (Sun, 06 Feb 2022)

Log Message

[WASM] Fix clang tidy bugprone-move-forwarding-reference static analyzer warnings in WasmLLIntGenerator.cpp
<https://webkit.org/b/236202>
<rdar://problem/88545940>

Reviewed by Yusuke Suzuki.

* wasm/WasmLLIntGenerator.cpp:
(JSC::Wasm::LLIntGenerator::ControlType::ControlType):
- Replace WTFMove() with std::forward<>().

Modified Paths

Diff

Modified: trunk/Source/_javascript_Core/ChangeLog (289174 => 289175)


--- trunk/Source/_javascript_Core/ChangeLog	2022-02-06 19:32:22 UTC (rev 289174)
+++ trunk/Source/_javascript_Core/ChangeLog	2022-02-06 20:04:19 UTC (rev 289175)
@@ -1,3 +1,15 @@
+2022-02-06  David Kilzer  <[email protected]>
+
+        [WASM] Fix clang tidy bugprone-move-forwarding-reference static analyzer warnings in WasmLLIntGenerator.cpp
+        <https://webkit.org/b/236202>
+        <rdar://problem/88545940>
+
+        Reviewed by Yusuke Suzuki.
+
+        * wasm/WasmLLIntGenerator.cpp:
+        (JSC::Wasm::LLIntGenerator::ControlType::ControlType):
+        - Replace WTFMove() with std::forward<>().
+
 2022-02-06  Yusuke Suzuki  <[email protected]>
 
         Unreviewed, follow-up after r289172

Modified: trunk/Source/_javascript_Core/wasm/WasmLLIntGenerator.cpp (289174 => 289175)


--- trunk/Source/_javascript_Core/wasm/WasmLLIntGenerator.cpp	2022-02-06 19:32:22 UTC (rev 289174)
+++ trunk/Source/_javascript_Core/wasm/WasmLLIntGenerator.cpp	2022-02-06 20:04:19 UTC (rev 289175)
@@ -164,7 +164,7 @@
     private:
         template<typename T>
         ControlType(BlockSignature signature, unsigned stackSize, RefPtr<Label>&& continuation, T&& t)
-            : Base(WTFMove(t))
+            : Base(std::forward<T>(t))
             , m_signature(signature)
             , m_stackSize(stackSize)
             , m_continuation(WTFMove(continuation))
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to