Ignore:
Timestamp:
Mar 10, 2013, 12:16:38 PM (12 years ago)
Author:
[email protected]
Message:

SpeculativeJIT should use OwnPtr<SlowPathGenerator>.
<http://webkit.org/b/111942>

Reviewed by Anders Carlsson.

There's no need to include DFGSlowPathGenerator.h from the header as long as the destructor is out-of-line,
so let's use OwnPtr instead of raw pointers + deleteAllValues().

  • dfg/DFGSpeculativeJIT.cpp:

(JSC::DFG::SpeculativeJIT::~SpeculativeJIT):
(JSC::DFG::SpeculativeJIT::addSlowPathGenerator):

  • dfg/DFGSpeculativeJIT.h:

(SpeculativeJIT):

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/ChangeLog

    r145323 r145329  
     12013-03-10  Andreas Kling  <[email protected]>
     2
     3        SpeculativeJIT should use OwnPtr<SlowPathGenerator>.
     4        <http://webkit.org/b/111942>
     5
     6        Reviewed by Anders Carlsson.
     7
     8        There's no need to include DFGSlowPathGenerator.h from the header as long as the destructor is out-of-line,
     9        so let's use OwnPtr instead of raw pointers + deleteAllValues().
     10
     11        * dfg/DFGSpeculativeJIT.cpp:
     12        (JSC::DFG::SpeculativeJIT::~SpeculativeJIT):
     13        (JSC::DFG::SpeculativeJIT::addSlowPathGenerator):
     14        * dfg/DFGSpeculativeJIT.h:
     15        (SpeculativeJIT):
     16
    1172013-03-09  Sheriff Bot  <[email protected]>
    218
Note: See TracChangeset for help on using the changeset viewer.