#include "src/debug/debug-frames.h"
#include "src/builtins/accessors.h"
#include "src/deoptimizer/deoptimizer.h"
#include "src/execution/frames-inl.h"
#if V8_ENABLE_WEBASSEMBLY
#include "src/debug/debug-wasm-objects.h"
#endif
namespace v8 {
namespace internal {
FrameInspector::FrameInspector(CommonFrame* frame, int inlined_frame_index,
Isolate* isolate)
: … { … }
FrameInspector::~FrameInspector() = default;
JavaScriptFrame* FrameInspector::javascript_frame() { … }
Handle<Object> FrameInspector::GetParameter(int index) { … }
Handle<Object> FrameInspector::GetExpression(int index) { … }
Handle<Object> FrameInspector::GetContext() { … }
Handle<String> FrameInspector::GetFunctionName() { … }
#if V8_ENABLE_WEBASSEMBLY
bool FrameInspector::IsWasm() { … }
#if V8_ENABLE_DRUMBRAKE
bool FrameInspector::IsWasmInterpreter() {
return frame_->is_wasm_interpreter_entry();
}
#endif
#endif
bool FrameInspector::IsJavaScript() { … }
bool FrameInspector::ParameterIsShadowedByContextLocal(
DirectHandle<ScopeInfo> info, Handle<String> parameter_name) { … }
RedirectActiveFunctions::RedirectActiveFunctions(
Isolate* isolate, Tagged<SharedFunctionInfo> shared, Mode mode)
: … { … }
void RedirectActiveFunctions::VisitThread(Isolate* isolate,
ThreadLocalTop* top) { … }
}
}