Ignore:
Timestamp:
Oct 6, 2017, 3:12:41 PM (8 years ago)
Author:
Ryan Haddad
Message:

Unreviewed, rolling out r222791 and r222873.
https://bugs.webkit.org/show_bug.cgi?id=178031

Caused crashes with workers/wasm LayoutTests (Requested by
ryanhaddad on #webkit).

Reverted changesets:

"WebAssembly: no VM / JS version of everything but Instance"
https://bugs.webkit.org/show_bug.cgi?id=177473
http://trac.webkit.org/changeset/222791

"WebAssembly: address no VM / JS follow-ups"
https://bugs.webkit.org/show_bug.cgi?id=177887
http://trac.webkit.org/changeset/222873

Patch by Commit Queue <[email protected]> on 2017-10-06

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/runtime/VM.h

    r222791 r223002  
    5656#include "VMEntryRecord.h"
    5757#include "VMTraps.h"
    58 #include "WasmContext.h"
    5958#include "Watchpoint.h"
    6059#include <wtf/BumpPointerAllocator.h>
     
    331330    VMType vmType;
    332331    ClientData* clientData;
    333     EntryFrame* topEntryFrame;
     332    VMEntryFrame* topVMEntryFrame;
    334333    // NOTE: When throwing an exception while rolling back the call frame, this may be equal to
    335     // topEntryFrame.
     334    // topVMEntryFrame.
    336335    // FIXME: This should be a void*, because it might not point to a CallFrame.
    337336    // https://bugs.webkit.org/show_bug.cgi?id=160441
    338337    ExecState* topCallFrame { nullptr };
    339 #if ENABLE(WEBASSEMBLY)
    340     Wasm::Context wasmContext;
    341 #endif
     338    // FIXME: Save this state elsewhere to allow PIC. https://bugs.webkit.org/show_bug.cgi?id=169773
     339    JSWebAssemblyInstance* wasmContext { nullptr };
    342340    Strong<Structure> structureStructure;
    343341    Strong<Structure> structureRareDataStructure;
     
    504502    }
    505503
    506     static ptrdiff_t topEntryFrameOffset()
    507     {
    508         return OBJECT_OFFSETOF(VM, topEntryFrame);
     504    static ptrdiff_t topVMEntryFrameOffset()
     505    {
     506        return OBJECT_OFFSETOF(VM, topVMEntryFrame);
    509507    }
    510508
Note: See TracChangeset for help on using the changeset viewer.