Lines Matching refs:WasmInterpreter
1096 WasmInterpreter::State state() { return state_; } in state()
1107 WasmInterpreter::State Run(int num_steps = -1) { in Run()
1108 DCHECK(state_ == WasmInterpreter::STOPPED || in Run()
1109 state_ == WasmInterpreter::PAUSED); in Run()
1118 state_ = WasmInterpreter::RUNNING; in Run()
1121 DCHECK_IMPLIES(state_ == WasmInterpreter::STOPPED, in Run()
1132 state_ = WasmInterpreter::STOPPED; in Reset()
1143 if (state_ == WasmInterpreter::TRAPPED) return WasmValue(0xDEADBEEF); in GetReturnValue()
1144 DCHECK_EQ(WasmInterpreter::FINISHED, state_); in GetReturnValue()
1171 void ClearBreakFlags() { break_flags_ = WasmInterpreter::BreakFlag::None; } in ClearBreakFlags()
1185 state_ = WasmInterpreter::STOPPED; in StartActivation()
1208 WasmInterpreter::Thread::ExceptionHandlingResult HandleException( in HandleException()
1220 state_ = WasmInterpreter::STOPPED; in HandleException()
1221 return WasmInterpreter::Thread::UNWOUND; in HandleException()
1252 WasmInterpreter::State state_ = WasmInterpreter::STOPPED;
1267 state_ = WasmInterpreter::TRAPPED; in DoTrap()
1355 state_ = WasmInterpreter::FINISHED; in DoReturn()
2073 return HandleException(isolate) == WasmInterpreter::Thread::HANDLED; in DoStackCheck()
2092 if (V8_UNLIKELY(break_flags_ & WasmInterpreter::BreakFlag::flag)) { \ in Execute()
2606 state_ = WasmInterpreter::PAUSED; in Execute()
2701 if (HandleException(isolate) == WasmInterpreter::Thread::UNWOUND) { in TryHandleException()
2990 WasmInterpreter::Thread* ToThread(ThreadImpl* impl) { in ToThread()
2991 return reinterpret_cast<WasmInterpreter::Thread*>(impl); in ToThread()
2993 ThreadImpl* ToImpl(WasmInterpreter::Thread* thread) { in ToImpl()
3013 WasmInterpreter::State WasmInterpreter::Thread::state() { in state()
3016 void WasmInterpreter::Thread::InitFrame(const WasmFunction* function, in InitFrame()
3020 WasmInterpreter::State WasmInterpreter::Thread::Run(int num_steps) { in Run()
3023 void WasmInterpreter::Thread::Pause() { return ToImpl(this)->Pause(); } in Pause()
3024 void WasmInterpreter::Thread::Reset() { return ToImpl(this)->Reset(); } in Reset()
3025 WasmInterpreter::Thread::ExceptionHandlingResult
3026 WasmInterpreter::Thread::HandleException(Isolate* isolate) { in HandleException()
3029 pc_t WasmInterpreter::Thread::GetBreakpointPc() { in GetBreakpointPc()
3032 int WasmInterpreter::Thread::GetFrameCount() { in GetFrameCount()
3035 WasmInterpreter::FramePtr WasmInterpreter::Thread::GetFrame(int index) { in GetFrame()
3040 WasmValue WasmInterpreter::Thread::GetReturnValue(int index) { in GetReturnValue()
3043 TrapReason WasmInterpreter::Thread::GetTrapReason() { in GetTrapReason()
3046 bool WasmInterpreter::Thread::PossibleNondeterminism() { in PossibleNondeterminism()
3049 uint64_t WasmInterpreter::Thread::NumInterpretedCalls() { in NumInterpretedCalls()
3052 void WasmInterpreter::Thread::AddBreakFlags(uint8_t flags) { in AddBreakFlags()
3055 void WasmInterpreter::Thread::ClearBreakFlags() { in ClearBreakFlags()
3058 uint32_t WasmInterpreter::Thread::NumActivations() { in NumActivations()
3061 uint32_t WasmInterpreter::Thread::StartActivation() { in StartActivation()
3064 void WasmInterpreter::Thread::FinishActivation(uint32_t id) { in FinishActivation()
3067 uint32_t WasmInterpreter::Thread::ActivationFrameBase(uint32_t id) { in ActivationFrameBase()
3113 WasmInterpreter::WasmInterpreter(Isolate* isolate, const WasmModule* module, in WasmInterpreter() function in v8::internal::wasm::WasmInterpreter
3120 WasmInterpreter::~WasmInterpreter() { internals_->~WasmInterpreterInternals(); } in ~WasmInterpreter()
3122 void WasmInterpreter::Run() { internals_->threads_[0].Run(); } in Run()
3124 void WasmInterpreter::Pause() { internals_->threads_[0].Pause(); } in Pause()
3126 bool WasmInterpreter::SetBreakpoint(const WasmFunction* function, pc_t pc, in SetBreakpoint()
3147 bool WasmInterpreter::GetBreakpoint(const WasmFunction* function, pc_t pc) { in GetBreakpoint()
3156 bool WasmInterpreter::SetTracing(const WasmFunction* function, bool enabled) { in SetTracing()
3161 int WasmInterpreter::GetThreadCount() { in GetThreadCount()
3165 WasmInterpreter::Thread* WasmInterpreter::GetThread(int id) { in GetThread()
3170 void WasmInterpreter::AddFunctionForTesting(const WasmFunction* function) { in AddFunctionForTesting()
3174 void WasmInterpreter::SetFunctionCodeForTesting(const WasmFunction* function, in SetFunctionCodeForTesting()
3180 void WasmInterpreter::SetCallIndirectTestMode() { in SetCallIndirectTestMode()
3184 ControlTransferMap WasmInterpreter::ComputeControlTransfersForTesting( in ComputeControlTransfersForTesting()