diff options
Diffstat (limited to 'deps/v8/src/mips/disasm-mips.cc')
-rw-r--r-- | deps/v8/src/mips/disasm-mips.cc | 15 |
1 files changed, 4 insertions, 11 deletions
diff --git a/deps/v8/src/mips/disasm-mips.cc b/deps/v8/src/mips/disasm-mips.cc index d2f8ebb0eef..0049f9fa91f 100644 --- a/deps/v8/src/mips/disasm-mips.cc +++ b/deps/v8/src/mips/disasm-mips.cc @@ -2704,7 +2704,7 @@ int Decoder::InstructionDecode(byte* instr_ptr) { UNSUPPORTED_MIPS(); } } - return Instruction::kInstrSize; + return kInstrSize; } @@ -2752,13 +2752,6 @@ const char* NameConverter::NameInCode(byte* addr) const { //------------------------------------------------------------------------------ -Disassembler::Disassembler(const NameConverter& converter) - : converter_(converter) {} - - -Disassembler::~Disassembler() {} - - int Disassembler::InstructionDecode(v8::internal::Vector<char> buffer, byte* instruction) { v8::internal::Decoder d(converter_, buffer); @@ -2771,10 +2764,10 @@ int Disassembler::ConstantPoolSizeAt(byte* instruction) { return -1; } - -void Disassembler::Disassemble(FILE* f, byte* begin, byte* end) { +void Disassembler::Disassemble(FILE* f, byte* begin, byte* end, + UnimplementedOpcodeAction unimplemented_action) { NameConverter converter; - Disassembler d(converter); + Disassembler d(converter, unimplemented_action); for (byte* pc = begin; pc < end;) { v8::internal::EmbeddedVector<char, 128> buffer; buffer[0] = '\0'; |