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

Changeset 242674 in webkit


Ignore:
Timestamp:
Mar 9, 2019, 9:29:35 AM (7 years ago)
Author:
rmorisset@apple.com
Message:

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

Reviewed by Mark Lam.

  • profiler/ProfilerCompilation.cpp:

(JSC::Profiler::Compilation::Compilation):

  • profiler/ProfilerCompilation.h:
Location:
trunk/Source/JavaScriptCore
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/ChangeLog

    r242673 r242674  
     12019-03-09  Robin Morisset  <rmorisset@apple.com>
     2
     3        Compilation can be shrunk by 8 bytes
     4        https://bugs.webkit.org/show_bug.cgi?id=195500
     5
     6        Reviewed by Mark Lam.
     7
     8        * profiler/ProfilerCompilation.cpp:
     9        (JSC::Profiler::Compilation::Compilation):
     10        * profiler/ProfilerCompilation.h:
     11
    1122019-03-09  Robin Morisset  <rmorisset@apple.com>
    213
  • trunk/Source/JavaScriptCore/profiler/ProfilerCompilation.cpp

    r230748 r242674  
    3737
    3838Compilation::Compilation(Bytecodes* bytecodes, CompilationKind kind)
    39     : m_bytecodes(bytecodes)
    40     , m_kind(kind)
    41     , m_jettisonReason(NotJettisoned)
     39    : m_kind(kind)
     40    , m_bytecodes(bytecodes)
    4241    , m_numInlinedGetByIds(0)
    4342    , m_numInlinedPutByIds(0)
    4443    , m_numInlinedCalls(0)
     44    , m_jettisonReason(NotJettisoned)
    4545    , m_uid(UID::create())
    4646{
  • trunk/Source/JavaScriptCore/profiler/ProfilerCompilation.h

    r230748 r242674  
    8282   
    8383private:
     84    CompilationKind m_kind;
    8485    Bytecodes* m_bytecodes;
    85     CompilationKind m_kind;
    86     JettisonReason m_jettisonReason;
    87     CString m_additionalJettisonReason;
    8886    Vector<ProfiledBytecodes> m_profiledBytecodes;
    8987    Vector<CompiledBytecode> m_descriptions;
     
    9492    unsigned m_numInlinedPutByIds;
    9593    unsigned m_numInlinedCalls;
     94    JettisonReason m_jettisonReason;
     95    CString m_additionalJettisonReason;
    9696    UID m_uid;
    9797};
Note: See TracChangeset for help on using the changeset viewer.