Skip to content

Commit

Permalink
Refactor DisassemblerWin32X86 and DisassemblerWin32X64 similarities i…
Browse files Browse the repository at this point in the history
…nto a base class DisassemblerWin

This is a first attempt to merge similarities between DisassemblerWin32X86 and DisassemblerWin32X64 in a naive way.
This includes creation of the base class and merging of nearly identical function.

BUG=

Review-Url: https://codereview.chromium.org/1980703003
Cr-Commit-Position: refs/heads/master@{#395079}
  • Loading branch information
etiennep authored and Commit bot committed May 20, 2016
1 parent 63fee82 commit 5ac34c9
Show file tree
Hide file tree
Showing 10 changed files with 847 additions and 1,544 deletions.
2 changes: 2 additions & 0 deletions courgette/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ static_library("courgette_lib") {
"disassembler_elf_32_arm.h",
"disassembler_elf_32_x86.cc",
"disassembler_elf_32_x86.h",
"disassembler_win32.cc",
"disassembler_win32.h",
"disassembler_win32_x64.cc",
"disassembler_win32_x64.h",
"disassembler_win32_x86.cc",
Expand Down
2 changes: 2 additions & 0 deletions courgette/courgette.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@
'disassembler_elf_32_arm.h',
'disassembler_elf_32_x86.cc',
'disassembler_elf_32_x86.h',
'disassembler_win32.cc',
'disassembler_win32.h',
'disassembler_win32_x86.cc',
'disassembler_win32_x86.h',
'disassembler_win32_x64.cc',
Expand Down
Loading

0 comments on commit 5ac34c9

Please sign in to comment.