#include "src/interpreter/bytecode-decoder.h"
#include <iomanip>
#include "src/interpreter/interpreter-intrinsics.h"
#include "src/objects/contexts.h"
#include "src/objects/objects-inl.h"
namespace v8 {
namespace internal {
namespace interpreter {
Register BytecodeDecoder::DecodeRegisterOperand(Address operand_start,
OperandType operand_type,
OperandScale operand_scale) { … }
RegisterList BytecodeDecoder::DecodeRegisterListOperand(
Address operand_start, uint32_t count, OperandType operand_type,
OperandScale operand_scale) { … }
int32_t BytecodeDecoder::DecodeSignedOperand(Address operand_start,
OperandType operand_type,
OperandScale operand_scale) { … }
uint32_t BytecodeDecoder::DecodeUnsignedOperand(Address operand_start,
OperandType operand_type,
OperandScale operand_scale) { … }
namespace {
const char* NameForRuntimeId(Runtime::FunctionId idx) { … }
const char* NameForNativeContextIndex(uint32_t idx) { … }
}
std::ostream& BytecodeDecoder::Decode(std::ostream& os,
const uint8_t* bytecode_start,
bool with_hex) { … }
}
}
}