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

Unified Diff: courgette/disassembler_win32_x86.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_x86.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: courgette/disassembler_win32_x86.cc
diff --git a/courgette/disassembler_win32_x86.cc b/courgette/disassembler_win32_x86.cc
index 10f66aba3034da5cde7d53f18a121b7833849b42..e34574a180157ba2a0ac293f9d6f0baf2001c3f6 100644
--- a/courgette/disassembler_win32_x86.cc
+++ b/courgette/disassembler_win32_x86.cc
@@ -31,8 +31,8 @@ RVA DisassemblerWin32X86::Address32ToRVA(uint32_t address) const {
}
CheckBool DisassemblerWin32X86::EmitAbs(Label* label,
- AssemblyProgram* program) {
- return program->EmitAbs32(label);
+ InstructionReceptor* receptor) const {
+ return receptor->EmitAbs32(label);
}
void DisassemblerWin32X86::ParseRel32RelocsFromSection(const Section* section) {
« no previous file with comments | « courgette/disassembler_win32_x86.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698