#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
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
#ifdef ENABLE_DISASSEMBLER
namespace {
void print_pc(std::ostream& os, int pc) { … }
}
void DeoptimizationData::PrintDeoptimizationData(std::ostream& os) const { … }
#endif
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
}
}