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

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

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

Crashes seen on PLT bots and facebook.com.

Reverted changesets:

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

File:
1 edited

Legend:

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

    r190735 r190809  
    2929#if ENABLE(DFG_JIT)
    3030
    31 #include "CodeBlock.h"
    3231#include "CompilationResult.h"
    3332#include "DFGCommonData.h"
     
    118117
    119118    RegisterSet liveRegistersToPreserveAtExceptionHandlingCallSite(CodeBlock*, CallSiteIndex) override;
    120 #if ENABLE(FTL_JIT)
    121     CodeBlock* osrEntryBlock() { return m_osrEntryBlock.get(); }
    122     void setOSREntryBlock(VM& vm, const JSCell* owner, CodeBlock* osrEntryBlock) { m_osrEntryBlock.set(vm, owner, osrEntryBlock); }
    123     void clearOSREntryBlock() { m_osrEntryBlock.clear(); }
    124 #endif
    125    
     119
    126120private:
    127121    friend class JITCompiler; // Allow JITCompiler to call setCodeRef().
     
    137131    uint8_t nestedTriggerIsSet { 0 };
    138132    UpperTierExecutionCounter tierUpCounter;
    139     WriteBarrier<CodeBlock> m_osrEntryBlock;
     133    RefPtr<CodeBlock> osrEntryBlock;
    140134    unsigned osrEntryRetry;
    141135    bool abandonOSREntry;
Note: See TracChangeset for help on using the changeset viewer.