Changeset 223002 in webkit for trunk/Source/JavaScriptCore/runtime/VM.h
- Timestamp:
- Oct 6, 2017, 3:12:41 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/runtime/VM.h
r222791 r223002 56 56 #include "VMEntryRecord.h" 57 57 #include "VMTraps.h" 58 #include "WasmContext.h"59 58 #include "Watchpoint.h" 60 59 #include <wtf/BumpPointerAllocator.h> … … 331 330 VMType vmType; 332 331 ClientData* clientData; 333 EntryFrame* topEntryFrame;332 VMEntryFrame* topVMEntryFrame; 334 333 // NOTE: When throwing an exception while rolling back the call frame, this may be equal to 335 // top EntryFrame.334 // topVMEntryFrame. 336 335 // FIXME: This should be a void*, because it might not point to a CallFrame. 337 336 // https://bugs.webkit.org/show_bug.cgi?id=160441 338 337 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 }; 342 340 Strong<Structure> structureStructure; 343 341 Strong<Structure> structureRareDataStructure; … … 504 502 } 505 503 506 static ptrdiff_t top EntryFrameOffset()507 { 508 return OBJECT_OFFSETOF(VM, top EntryFrame);504 static ptrdiff_t topVMEntryFrameOffset() 505 { 506 return OBJECT_OFFSETOF(VM, topVMEntryFrame); 509 507 } 510 508
Note:
See TracChangeset
for help on using the changeset viewer.