Title: [243162] trunk/Source/_javascript_Core
Revision
243162
Author
[email protected]
Date
2019-03-19 12:45:42 -0700 (Tue, 19 Mar 2019)

Log Message

Style fix: remove C style cast in Instruction.h
https://bugs.webkit.org/show_bug.cgi?id=195917

Reviewed by Filip Pizlo.

* bytecode/Instruction.h:
(JSC::Instruction::wide const):

Modified Paths

Diff

Modified: trunk/Source/_javascript_Core/ChangeLog (243161 => 243162)


--- trunk/Source/_javascript_Core/ChangeLog	2019-03-19 19:31:31 UTC (rev 243161)
+++ trunk/Source/_javascript_Core/ChangeLog	2019-03-19 19:45:42 UTC (rev 243162)
@@ -1,3 +1,13 @@
+2019-03-19  Saam Barati  <[email protected]>
+
+        Style fix: remove C style cast in Instruction.h
+        https://bugs.webkit.org/show_bug.cgi?id=195917
+
+        Reviewed by Filip Pizlo.
+
+        * bytecode/Instruction.h:
+        (JSC::Instruction::wide const):
+
 2019-03-19  Devin Rousso  <[email protected]>
 
         Web Inspector: Provide $event in the console when paused on an event listener

Modified: trunk/Source/_javascript_Core/bytecode/Instruction.h (243161 => 243162)


--- trunk/Source/_javascript_Core/bytecode/Instruction.h	2019-03-19 19:31:31 UTC (rev 243161)
+++ trunk/Source/_javascript_Core/bytecode/Instruction.h	2019-03-19 19:45:42 UTC (rev 243162)
@@ -110,7 +110,7 @@
     {
 
         ASSERT(isWide());
-        return reinterpret_cast<const Impl<OpcodeSize::Wide>*>((uintptr_t)this + 1);
+        return reinterpret_cast<const Impl<OpcodeSize::Wide>*>(bitwise_cast<uintptr_t>(this) + 1);
     }
 };
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to