Ignore:
Timestamp:
Jan 10, 2018, 11:41:12 AM (8 years ago)
Author:
[email protected]
Message:

Unreviewed, rolling out r226667 and r226673.
https://bugs.webkit.org/show_bug.cgi?id=181488

This caused a flaky crash. (Requested by mlewis13 on #webkit).

Reverted changesets:

"CodeBlocks should be in IsoSubspaces"
https://bugs.webkit.org/show_bug.cgi?id=180884
https://trac.webkit.org/changeset/226667

"REGRESSION (r226667): CodeBlocks should be in IsoSubspaces"
https://bugs.webkit.org/show_bug.cgi?id=180884
https://trac.webkit.org/changeset/226673

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/bytecode/ModuleProgramCodeBlock.h

    r226667 r226725  
    3535namespace JSC {
    3636
    37 class ModuleProgramCodeBlock final : public GlobalCodeBlock {
     37class ModuleProgramCodeBlock : public GlobalCodeBlock {
    3838public:
    3939    typedef GlobalCodeBlock Base;
    4040    DECLARE_INFO;
    41 
    42     template<typename>
    43     static IsoSubspace* subspaceFor(VM& vm)
    44     {
    45         return &vm.moduleProgramCodeBlockSpace.space;
    46     }
    4741
    4842    static ModuleProgramCodeBlock* create(VM* vm, CopyParsedBlockTag, ModuleProgramCodeBlock& other)
     
    6660    static Structure* createStructure(VM& vm, JSGlobalObject* globalObject, JSValue prototype)
    6761    {
    68         return Structure::create(vm, globalObject, prototype, TypeInfo(CodeBlockType, StructureFlags), info());
     62        return Structure::create(vm, globalObject, prototype, TypeInfo(CellType, StructureFlags), info());
    6963    }
    7064
Note: See TracChangeset for help on using the changeset viewer.