Description[Courgette] Simple AssemblyProgram and Disassembler cleanups.
We perform mundane cleanups to prepare for next step in
AssemblyProgram reduction:
- Delete dead code (static functions) in AssemblyProgram that were left
over from LabelManager usage.
- Simplify image_base assignment for AssemblyProgram.
- Source: Disassembler adds virtual function image_base() (PE file
reads and stores it; ELF just returns 0).
- Sink: AssemblyProgram takes it on construction (replaces mutator).
- Disassembler::Disassemble() overrides: Rename |target| to |program|.
BUG=660980
Review-Url: https://codereview.chromium.org/2583373002
Cr-Commit-Position: refs/heads/master@{#443609}
Committed: https://chromium.googlesource.com/chromium/src/+/8563622217956fce69f0eb03ba7f5676d5441824
Patch Set 1 #Patch Set 2 : Sync. #Patch Set 3 : Sync. #
Total comments: 50
Patch Set 4 : Remove more unused code; use base::MakeUnique(). #Patch Set 5 : Tune up header inclusion. #
Messages
Total messages: 28 (17 generated)
|