⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 242657 in webkit


Ignore:
Timestamp:
Mar 8, 2019, 3:19:27 PM (7 years ago)
Author:
rmorisset@apple.com
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):

Location:
trunk/Source/JavaScriptCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/ChangeLog

    r242655 r242657  
     12019-03-08  Robin Morisset  <rmorisset@apple.com>
     2
     3        PutByIdVariant can be shrunk by 8 bytes
     4        https://bugs.webkit.org/show_bug.cgi?id=195482
     5
     6        Reviewed by Mark Lam.
     7
     8        * bytecode/PutByIdVariant.h:
     9        (JSC::PutByIdVariant::PutByIdVariant):
     10
    1112019-03-08  Yusuke Suzuki  <ysuzuki@apple.com>
    212
  • trunk/Source/JavaScriptCore/bytecode/PutByIdVariant.h

    r240023 r242657  
    4545    PutByIdVariant()
    4646        : m_kind(NotSet)
     47        , m_offset(invalidOffset)
    4748        , m_newStructure(nullptr)
    48         , m_offset(invalidOffset)
    4949    {
    5050    }
     
    142142   
    143143    Kind m_kind;
     144    PropertyOffset m_offset;
    144145    StructureSet m_oldStructure;
    145146    Structure* m_newStructure { nullptr };
    146147    ObjectPropertyConditionSet m_conditionSet;
    147     PropertyOffset m_offset;
    148148    std::unique_ptr<CallLinkStatus> m_callLinkStatus;
    149149};
Note: See TracChangeset for help on using the changeset viewer.