chromium/v8/src/objects/debug-objects.cc

// Copyright 2017 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "src/objects/debug-objects.h"

#include "src/base/platform/mutex.h"
#include "src/debug/debug-evaluate.h"
#include "src/handles/handles-inl.h"
#include "src/objects/call-site-info-inl.h"
#include "src/objects/debug-objects-inl.h"
#include "src/utils/ostreams.h"

namespace v8 {
namespace internal {

bool DebugInfo::IsEmpty() const {}

bool DebugInfo::HasBreakInfo() const {}

DebugInfo::ExecutionMode DebugInfo::DebugExecutionMode() const {}

void DebugInfo::SetDebugExecutionMode(ExecutionMode value) {}

void DebugInfo::ClearBreakInfo(Isolate* isolate) {}

void DebugInfo::SetBreakAtEntry() {}

void DebugInfo::ClearBreakAtEntry() {}

bool DebugInfo::BreakAtEntry() const {}

bool DebugInfo::CanBreakAtEntry() const {}

// Check if there is a break point at this source position.
bool DebugInfo::HasBreakPoint(Isolate* isolate, int source_position) {}

// Get the break point info object for this source position.
Tagged<Object> DebugInfo::GetBreakPointInfo(Isolate* isolate,
                                            int source_position) {}

bool DebugInfo::ClearBreakPoint(Isolate* isolate,
                                DirectHandle<DebugInfo> debug_info,
                                DirectHandle<BreakPoint> break_point) {}

void DebugInfo::SetBreakPoint(Isolate* isolate,
                              DirectHandle<DebugInfo> debug_info,
                              int source_position,
                              DirectHandle<BreakPoint> break_point) {}

// Get the break point objects for a source position.
Handle<Object> DebugInfo::GetBreakPoints(Isolate* isolate,
                                         int source_position) {}

// Get the total number of break points.
int DebugInfo::GetBreakPointCount(Isolate* isolate) {}

Handle<Object> DebugInfo::FindBreakPointInfo(
    Isolate* isolate, DirectHandle<DebugInfo> debug_info,
    DirectHandle<BreakPoint> break_point) {}

bool DebugInfo::HasCoverageInfo() const {}

void DebugInfo::ClearCoverageInfo(Isolate* isolate) {}

DebugInfo::SideEffectState DebugInfo::GetSideEffectState(Isolate* isolate) {}

namespace {
bool IsEqual(Tagged<BreakPoint> break_point1, Tagged<BreakPoint> break_point2) {}
}  // namespace

// Remove the specified break point object.
void BreakPointInfo::ClearBreakPoint(
    Isolate* isolate, DirectHandle<BreakPointInfo> break_point_info,
    DirectHandle<BreakPoint> break_point) {}

// Add the specified break point object.
void BreakPointInfo::SetBreakPoint(
    Isolate* isolate, DirectHandle<BreakPointInfo> break_point_info,
    DirectHandle<BreakPoint> break_point) {}

bool BreakPointInfo::HasBreakPoint(
    Isolate* isolate, DirectHandle<BreakPointInfo> break_point_info,
    DirectHandle<BreakPoint> break_point) {}

MaybeHandle<BreakPoint> BreakPointInfo::GetBreakPointById(
    Isolate* isolate, DirectHandle<BreakPointInfo> break_point_info,
    int breakpoint_id) {}

// Get the number of break points.
int BreakPointInfo::GetBreakPointCount(Isolate* isolate) {}

void CoverageInfo::InitializeSlot(int slot_index, int from_pos, int to_pos) {}

void CoverageInfo::ResetBlockCount(int slot_index) {}

void CoverageInfo::CoverageInfoPrint(std::ostream& os,
                                     std::unique_ptr<char[]> function_name) {}

// static
int StackFrameInfo::GetSourcePosition(DirectHandle<StackFrameInfo> info) {}

// static
void ErrorStackData::EnsureStackFrameInfos(
    Isolate* isolate, DirectHandle<ErrorStackData> error_stack) {}

}  // namespace internal
}  // namespace v8