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

Side by Side Diff: courgette/assembly_program.h

Issue 8166013: Further refactoring, move ImageInfo into Disassembler/DisassemblerWin32X86. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Rebase over other changes, fix nit. Created 9 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « courgette/adjustment_method_2.cc ('k') | courgette/courgette.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef COURGETTE_ASSEMBLY_PROGRAM_H_ 5 #ifndef COURGETTE_ASSEMBLY_PROGRAM_H_
6 #define COURGETTE_ASSEMBLY_PROGRAM_H_ 6 #define COURGETTE_ASSEMBLY_PROGRAM_H_
7 7
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <vector> 10 #include <vector>
11 11
12 #include "base/basictypes.h" 12 #include "base/basictypes.h"
13 #include "base/memory/scoped_ptr.h" 13 #include "base/memory/scoped_ptr.h"
14 14
15 #include "courgette/image_info.h" 15 #include "courgette/disassembler.h"
16 #include "courgette/memory_allocator.h" 16 #include "courgette/memory_allocator.h"
17 17
18 namespace courgette { 18 namespace courgette {
19 19
20 class EncodedProgram; 20 class EncodedProgram;
21 class Instruction; 21 class Instruction;
22 22
23 typedef NoThrowBuffer<Instruction*> InstructionVector; 23 typedef NoThrowBuffer<Instruction*> InstructionVector;
24 24
25 // A Label is a symbolic reference to an address. Unlike a conventional 25 // A Label is a symbolic reference to an address. Unlike a conventional
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
131 // We have separate label spaces for addresses referenced by rel32 labels and 131 // We have separate label spaces for addresses referenced by rel32 labels and
132 // abs32 labels. This is somewhat arbitrary. 132 // abs32 labels. This is somewhat arbitrary.
133 RVAToLabel rel32_labels_; 133 RVAToLabel rel32_labels_;
134 RVAToLabel abs32_labels_; 134 RVAToLabel abs32_labels_;
135 135
136 DISALLOW_COPY_AND_ASSIGN(AssemblyProgram); 136 DISALLOW_COPY_AND_ASSIGN(AssemblyProgram);
137 }; 137 };
138 138
139 } // namespace courgette 139 } // namespace courgette
140 #endif // COURGETTE_ASSEMBLY_PROGRAM_H_ 140 #endif // COURGETTE_ASSEMBLY_PROGRAM_H_
OLDNEW
« no previous file with comments | « courgette/adjustment_method_2.cc ('k') | courgette/courgette.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698