chromium/v8/src/objects/deoptimization-data-inl.h

// Copyright 2023 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.

#ifndef V8_OBJECTS_DEOPTIMIZATION_DATA_INL_H_
#define V8_OBJECTS_DEOPTIMIZATION_DATA_INL_H_

#include "src/common/ptr-compr-inl.h"
#include "src/objects/deoptimization-data.h"
#include "src/objects/fixed-array-inl.h"
#include "src/objects/js-regexp-inl.h"

// Has to be the last include (doesn't have include guards):
#include "src/objects/object-macros.h"

namespace v8 {
namespace internal {

OBJECT_CONSTRUCTORS_IMPL(DeoptimizationData, ProtectedFixedArray)

DEFINE_DEOPT_ELEMENT_ACCESSORS
DEFINE_DEOPT_ELEMENT_ACCESSORS
DEFINE_DEOPT_ELEMENT_ACCESSORS
DEFINE_DEOPT_ELEMENT_ACCESSORS
DEFINE_DEOPT_ELEMENT_ACCESSORS
DEFINE_DEOPT_ELEMENT_ACCESSORS
DEFINE_DEOPT_ELEMENT_ACCESSORS
DEFINE_DEOPT_ELEMENT_ACCESSORS(InliningPositions,
                               TrustedPodArray<InliningPosition>)
DEFINE_DEOPT_ELEMENT_ACCESSORS
DEFINE_DEOPT_ELEMENT_ACCESSORS
DEFINE_DEOPT_ELEMENT_ACCESSORS

DEFINE_DEOPT_ENTRY_ACCESSORS
DEFINE_DEOPT_ENTRY_ACCESSORS
DEFINE_DEOPT_ENTRY_ACCESSORS
#ifdef DEBUG
DEFINE_DEOPT_ENTRY_ACCESSORS
#endif  // DEBUG

Tagged<Object> DeoptimizationData::SharedFunctionInfo() const {}

BytecodeOffset DeoptimizationData::GetBytecodeOffsetOrBuiltinContinuationId(
    int i) const {}

void DeoptimizationData::SetBytecodeOffset(int i, BytecodeOffset value) {}

int DeoptimizationData::DeoptCount() const {}

inline DeoptimizationLiteralArray::DeoptimizationLiteralArray(Address ptr)
    :{}

inline Tagged<Object> DeoptimizationLiteralArray::get(int index) const {}

inline Tagged<Object> DeoptimizationLiteralArray::get(
    PtrComprCageBase cage_base, int index) const {}

inline Tagged<MaybeObject> DeoptimizationLiteralArray::get_raw(
    int index) const {}

inline void DeoptimizationLiteralArray::set(int index, Tagged<Object> value) {}

inline DeoptimizationFrameTranslation::DeoptimizationFrameTranslation(
    Address ptr)
    :{}

uint32_t DeoptimizationFrameTranslation::get_int(int offset) const {}

void DeoptimizationFrameTranslation::set_int(int offset, uint32_t value) {}
}  // namespace internal
}  // namespace v8

#include "src/objects/object-macros-undef.h"

#endif  // V8_OBJECTS_DEOPTIMIZATION_DATA_INL_H_