Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(341)

Unified Diff: courgette/disassembler_win32_x64.cc

Issue 2462993003: [Courgette] Refactor: Add and use Instruction*Receptor classes; call ParseFile() in 2 passes. (Closed)
Patch Set: Fix comments. Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « courgette/disassembler_win32_x64.h ('k') | courgette/disassembler_win32_x86.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: courgette/disassembler_win32_x64.cc
diff --git a/courgette/disassembler_win32_x64.cc b/courgette/disassembler_win32_x64.cc
index c000d1031841160cb0ae119e869310bfb5a58ce4..9b91d9ebbeb89dda143c365f65b9ee639883f75c 100644
--- a/courgette/disassembler_win32_x64.cc
+++ b/courgette/disassembler_win32_x64.cc
@@ -32,8 +32,8 @@ RVA DisassemblerWin32X64::Address64ToRVA(uint64_t address) const {
}
CheckBool DisassemblerWin32X64::EmitAbs(Label* label,
- AssemblyProgram* program) {
- return program->EmitAbs64(label);
+ InstructionReceptor* receptor) const {
+ return receptor->EmitAbs64(label);
}
void DisassemblerWin32X64::ParseRel32RelocsFromSection(const Section* section) {
« no previous file with comments | « courgette/disassembler_win32_x64.h ('k') | courgette/disassembler_win32_x86.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698