chromium/v8/src/objects/deoptimization-data.cc

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

#include "src/objects/deoptimization-data.h"

#include <iomanip>

#include "src/deoptimizer/translated-state.h"
#include "src/interpreter/bytecode-array-iterator.h"
#include "src/objects/casting.h"
#include "src/objects/code.h"
#include "src/objects/deoptimization-data-inl.h"
#include "src/objects/shared-function-info.h"

#ifdef V8_USE_ZLIB
#include "third_party/zlib/google/compression_utils_portable.h"
#endif  // V8_USE_ZLIB

namespace v8 {
namespace internal {

Handle<Object> DeoptimizationLiteral::Reify(Isolate* isolate) const {}

Handle<DeoptimizationData> DeoptimizationData::New(Isolate* isolate,
                                                   int deopt_entry_count) {}

Handle<DeoptimizationData> DeoptimizationData::New(LocalIsolate* isolate,
                                                   int deopt_entry_count) {}

Handle<DeoptimizationData> DeoptimizationData::Empty(Isolate* isolate) {}

Handle<DeoptimizationData> DeoptimizationData::Empty(LocalIsolate* isolate) {}

Tagged<SharedFunctionInfo> DeoptimizationData::GetInlinedFunction(int index) {}

#ifdef DEBUG
void DeoptimizationData::Verify(Handle<BytecodeArray> bytecode) const {}
#endif  // DEBUG

#ifdef ENABLE_DISASSEMBLER

namespace {
void print_pc(std::ostream& os, int pc) {}
}  // namespace

void DeoptimizationData::PrintDeoptimizationData(std::ostream& os) const {}

#endif  // ENABLE_DISASSEMBLER

DeoptTranslationIterator::DeoptTranslationIterator(
    base::Vector<const uint8_t> buffer, int index)
    :{}

DeoptimizationFrameTranslation::Iterator::Iterator(
    Tagged<DeoptimizationFrameTranslation> buffer, int index)
    :{}

int32_t DeoptTranslationIterator::NextOperand() {}

TranslationOpcode DeoptTranslationIterator::NextOpcodeAtPreviousIndex() {}

uint32_t DeoptTranslationIterator::NextUnsignedOperandAtPreviousIndex() {}

uint32_t DeoptTranslationIterator::NextOperandUnsigned() {}

TranslationOpcode DeoptTranslationIterator::NextOpcode() {}

DeoptimizationFrameTranslation::FrameCount
DeoptTranslationIterator::EnterBeginOpcode() {}

TranslationOpcode DeoptTranslationIterator::SeekNextJSFrame() {}

TranslationOpcode DeoptTranslationIterator::SeekNextFrame() {}

bool DeoptTranslationIterator::HasNextOpcode() const {}

void DeoptTranslationIterator::SkipOpcodeAndItsOperandsAtPreviousIndex() {}

#ifdef ENABLE_DISASSEMBLER

void DeoptimizationFrameTranslation::PrintFrameTranslation(
    std::ostream& os, int index,
    Tagged<DeoptimizationLiteralArray> literal_array) const {}

#endif  // ENABLE_DISASSEMBLER

}  // namespace internal
}  // namespace v8