Ignore:
Timestamp:
Oct 9, 2015, 4:10:16 PM (10 years ago)
Author:
[email protected]
Message:

2015-10-09 Geoffrey Garen <[email protected]>

Unreviewed, rolling back in r190694
https://bugs.webkit.org/show_bug.cgi?id=149727

This time for double sure?

The cause of the crash was an incorrect write barrier.

OSR exit was barriering the baseline codeblock for the top of the stack
twice, missing the baseline codeblock for the bottom of the stack.

Restored changesets:

"CodeBlock should be a GC object"
https://bugs.webkit.org/show_bug.cgi?id=149727
http://trac.webkit.org/changeset/r190694

File:
1 edited

Legend:

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

    r190809 r190827  
    4141class ToFTLDeferredCompilationCallback : public DeferredCompilationCallback {
    4242protected:
    43     ToFTLDeferredCompilationCallback(PassRefPtr<CodeBlock> dfgCodeBlock);
     43    ToFTLDeferredCompilationCallback();
    4444
    4545public:
    4646    virtual ~ToFTLDeferredCompilationCallback();
    4747
    48     static Ref<ToFTLDeferredCompilationCallback> create(PassRefPtr<CodeBlock> dfgCodeBlock);
     48    static Ref<ToFTLDeferredCompilationCallback> create();
    4949   
    50     virtual void compilationDidBecomeReadyAsynchronously(CodeBlock*);
    51     virtual void compilationDidComplete(CodeBlock*, CompilationResult);
    52 
    53 private:
    54     RefPtr<CodeBlock> m_dfgCodeBlock;
     50    virtual void compilationDidBecomeReadyAsynchronously(CodeBlock*, CodeBlock* profiledDFGCodeBlock);
     51    virtual void compilationDidComplete(CodeBlock*, CodeBlock* profiledDFGCodeBlock, CompilationResult);
    5552};
    5653
Note: See TracChangeset for help on using the changeset viewer.