V8 API Reference, 7.2.502.16 (for Deno 0.2.4)
|
Classes | |
class | Thread |
Public Types | |
enum | State { STOPPED, RUNNING, PAUSED, FINISHED, TRAPPED } |
enum | BreakFlag : uint8_t { None = 0, AfterReturn = 1 << 0, AfterCall = 1 << 1 } |
using | FramePtr = std::unique_ptr< InterpretedFrame, InterpretedFrameDeleter > |
Public Member Functions | |
WasmInterpreter (Isolate *isolate, const WasmModule *module, const ModuleWireBytes &wire_bytes, Handle< WasmInstanceObject > instance) | |
void | Run () |
void | Pause () |
bool | SetBreakpoint (const WasmFunction *function, pc_t pc, bool enabled) |
bool | GetBreakpoint (const WasmFunction *function, pc_t pc) |
bool | SetTracing (const WasmFunction *function, bool enabled) |
int | GetThreadCount () |
Thread * | GetThread (int id) |
void | AddFunctionForTesting (const WasmFunction *function) |
void | SetFunctionCodeForTesting (const WasmFunction *function, const byte *start, const byte *end) |
void | SetCallIndirectTestMode () |
Static Public Member Functions | |
static ControlTransferMap | ComputeControlTransfersForTesting (Zone *zone, const WasmModule *module, const byte *start, const byte *end) |
Definition at line 85 of file wasm-interpreter.h.