Lines Matching defs:frame
420 static Handle<JSObject> Create(WasmFrame* frame) {
421 auto isolate = frame->isolate();
422 auto debug_info = frame->native_module()->GetDebugInfo();
424 int count = debug_info->GetNumLocals(frame->pc());
425 auto function = debug_info->GetFunctionAtAddress(frame->pc());
428 frame->wasm_instance().module_object(), isolate);
432 debug_info->GetLocalValue(i, frame->pc(), frame->fp(),
433 frame->callee_fp(), isolate),
437 values->set(count + 0, frame->wasm_instance().module_object());
472 static Handle<JSObject> Create(WasmFrame* frame) {
473 auto isolate = frame->isolate();
475 frame->wasm_instance().module_object().native_module()->GetDebugInfo();
476 int count = debug_info->GetStackDepth(frame->pc());
479 frame->wasm_instance().module_object(), isolate);
483 debug_info->GetStackValue(i, frame->pc(), frame->fp(),
484 frame->callee_fp(), isolate),
532 // This class implements the debug proxy for a given Wasm frame. The debug
533 // proxy is used when evaluating JavaScript expressions on a wasm frame via
631 static Handle<JSObject> Create(WasmFrame* frame) {
632 Isolate* isolate = frame->isolate();
634 Handle<WasmInstanceObject> instance(frame->wasm_instance(), isolate);
638 auto locals = LocalsProxy::Create(frame);
640 auto stack = StackProxy::Create(frame);
660 explicit DebugWasmScopeIterator(WasmFrame* frame)
661 : frame_(frame),
663 // Skip local scope and expression stack scope if the frame is not
665 if (!frame->is_inspectable()) {
1008 Handle<JSObject> GetWasmDebugProxy(WasmFrame* frame) {
1009 return ContextProxy::Create(frame);
1012 std::unique_ptr<debug::ScopeIterator> GetWasmScopeIterator(WasmFrame* frame) {
1013 return std::make_unique<DebugWasmScopeIterator>(frame);