| Index: src/x64/disasm-x64.cc
|
| diff --git a/src/x64/disasm-x64.cc b/src/x64/disasm-x64.cc
|
| index fb0914d7d02a0f9fd74f83a443863044aa3b118a..eefa70372ec4c8ac344665cecb6c52d16479e99d 100644
|
| --- a/src/x64/disasm-x64.cc
|
| +++ b/src/x64/disasm-x64.cc
|
| @@ -31,7 +31,7 @@
|
|
|
| #include "v8.h"
|
|
|
| -#if defined(V8_TARGET_ARCH_X64)
|
| +#if V8_TARGET_ARCH_X64
|
|
|
| #include "disasm.h"
|
| #include "lazy-instance.h"
|
| @@ -49,6 +49,7 @@ enum OperandType {
|
| BYTE_OPER_REG_OP_ORDER = OPER_REG_OP_ORDER | BYTE_SIZE_OPERAND_FLAG
|
| };
|
|
|
| +
|
| //------------------------------------------------------------------
|
| // Tables
|
| //------------------------------------------------------------------
|
| @@ -293,6 +294,7 @@ static InstructionDesc cmov_instructions[16] = {
|
| {"cmovg", TWO_OPERANDS_INSTR, REG_OPER_OP_ORDER, false}
|
| };
|
|
|
| +
|
| //------------------------------------------------------------------------------
|
| // DisassemblerX64 implementation.
|
|
|
| @@ -301,6 +303,7 @@ enum UnimplementedOpcodeAction {
|
| ABORT_ON_UNIMPLEMENTED_OPCODE
|
| };
|
|
|
| +
|
| // A new DisassemblerX64 object is created to disassemble each instruction.
|
| // The object can only disassemble a single instruction.
|
| class DisassemblerX64 {
|
| @@ -1763,6 +1766,7 @@ int DisassemblerX64::InstructionDecode(v8::internal::Vector<char> out_buffer,
|
| return instr_len;
|
| }
|
|
|
| +
|
| //------------------------------------------------------------------------------
|
|
|
|
|
| @@ -1822,6 +1826,7 @@ const char* NameConverter::NameInCode(byte* addr) const {
|
| return "";
|
| }
|
|
|
| +
|
| //------------------------------------------------------------------------------
|
|
|
| Disassembler::Disassembler(const NameConverter& converter)
|
|
|