Title: [242657] trunk/Source/_javascript_Core
Revision
242657
Author
[email protected]
Date
2019-03-08 15:19:27 -0800 (Fri, 08 Mar 2019)

Log Message

PutByIdVariant can be shrunk by 8 bytes
https://bugs.webkit.org/show_bug.cgi?id=195482

Reviewed by Mark Lam.

* bytecode/PutByIdVariant.h:
(JSC::PutByIdVariant::PutByIdVariant):

Modified Paths

Diff

Modified: trunk/Source/_javascript_Core/ChangeLog (242656 => 242657)


--- trunk/Source/_javascript_Core/ChangeLog	2019-03-08 22:12:46 UTC (rev 242656)
+++ trunk/Source/_javascript_Core/ChangeLog	2019-03-08 23:19:27 UTC (rev 242657)
@@ -1,3 +1,13 @@
+2019-03-08  Robin Morisset  <[email protected]>
+
+        PutByIdVariant can be shrunk by 8 bytes
+        https://bugs.webkit.org/show_bug.cgi?id=195482
+
+        Reviewed by Mark Lam.
+
+        * bytecode/PutByIdVariant.h:
+        (JSC::PutByIdVariant::PutByIdVariant):
+
 2019-03-08  Yusuke Suzuki  <[email protected]>
 
         Unreviewed, follow-up after r242568

Modified: trunk/Source/_javascript_Core/bytecode/PutByIdVariant.h (242656 => 242657)


--- trunk/Source/_javascript_Core/bytecode/PutByIdVariant.h	2019-03-08 22:12:46 UTC (rev 242656)
+++ trunk/Source/_javascript_Core/bytecode/PutByIdVariant.h	2019-03-08 23:19:27 UTC (rev 242657)
@@ -44,8 +44,8 @@
     
     PutByIdVariant()
         : m_kind(NotSet)
+        , m_offset(invalidOffset)
         , m_newStructure(nullptr)
-        , m_offset(invalidOffset)
     {
     }
     
@@ -141,10 +141,10 @@
     bool attemptToMergeTransitionWithReplace(const PutByIdVariant& replace);
     
     Kind m_kind;
+    PropertyOffset m_offset;
     StructureSet m_oldStructure;
     Structure* m_newStructure { nullptr };
     ObjectPropertyConditionSet m_conditionSet;
-    PropertyOffset m_offset;
     std::unique_ptr<CallLinkStatus> m_callLinkStatus;
 };
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to