Ignore:
Timestamp:
Oct 3, 2015, 6:45:21 PM (10 years ago)
Author:
[email protected]
Message:

Unreviewed, rolling out r190522.
https://bugs.webkit.org/show_bug.cgi?id=149787

Caused a lot of leaks (Requested by ap on #webkit).

Reverted changeset:

"Unreviewed, rolling back in r190450"
https://bugs.webkit.org/show_bug.cgi?id=149727
http://trac.webkit.org/changeset/190522

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/dfg/DFGPlan.h

    r190522 r190546  
    5656struct Plan : public ThreadSafeRefCounted<Plan> {
    5757    Plan(
    58         CodeBlock* codeBlockToCompile, CodeBlock* profiledDFGCodeBlock,
     58        PassRefPtr<CodeBlock> codeBlockToCompile, CodeBlock* profiledDFGCodeBlock,
    5959        CompilationMode, unsigned osrEntryBytecodeIndex,
    6060        const Operands<JSValue>& mustHandleValues);
     
    7272    CompilationKey key();
    7373   
    74     void rememberCodeBlocks();
     74    void clearCodeBlockMarks();
    7575    void checkLivenessAndVisitChildren(SlotVisitor&);
    7676    bool isKnownToBeLiveDuringGC();
     
    7878   
    7979    VM& vm;
    80 
    81     // These can be raw pointers because we visit them during every GC in checkLivenessAndVisitChildren.
    82     CodeBlock* codeBlock;
    83     CodeBlock* profiledDFGCodeBlock;
    84 
     80    RefPtr<CodeBlock> codeBlock;
     81    RefPtr<CodeBlock> profiledDFGCodeBlock;
    8582    CompilationMode mode;
    8683    const unsigned osrEntryBytecodeIndex;
Note: See TracChangeset for help on using the changeset viewer.