| OLD | NEW |
| 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_ENCODED_PROGRAM_H_ | 5 #ifndef COURGETTE_ENCODED_PROGRAM_H_ |
| 6 #define COURGETTE_ENCODED_PROGRAM_H_ | 6 #define COURGETTE_ENCODED_PROGRAM_H_ |
| 7 | 7 |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| 11 #include "courgette/image_info.h" | 11 #include "courgette/disassembler.h" |
| 12 #include "courgette/memory_allocator.h" | 12 #include "courgette/memory_allocator.h" |
| 13 | 13 |
| 14 namespace courgette { | 14 namespace courgette { |
| 15 | 15 |
| 16 class SinkStream; | 16 class SinkStream; |
| 17 class SinkStreamSet; | 17 class SinkStreamSet; |
| 18 class SourceStreamSet; | 18 class SourceStreamSet; |
| 19 | 19 |
| 20 // An EncodedProgram is a set of tables that contain a simple 'binary assembly | 20 // An EncodedProgram is a set of tables that contain a simple 'binary assembly |
| 21 // language' that can be assembled to produce a sequence of bytes, for example, | 21 // language' that can be assembled to produce a sequence of bytes, for example, |
| (...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 93 | 93 |
| 94 // Table of the addresses containing abs32 relocations; computed during | 94 // Table of the addresses containing abs32 relocations; computed during |
| 95 // assembly, used to generate base relocation table. | 95 // assembly, used to generate base relocation table. |
| 96 UInt32Vector abs32_relocs_; | 96 UInt32Vector abs32_relocs_; |
| 97 | 97 |
| 98 DISALLOW_COPY_AND_ASSIGN(EncodedProgram); | 98 DISALLOW_COPY_AND_ASSIGN(EncodedProgram); |
| 99 }; | 99 }; |
| 100 | 100 |
| 101 } // namespace courgette | 101 } // namespace courgette |
| 102 #endif // COURGETTE_ENCODED_PROGRAM_H_ | 102 #endif // COURGETTE_ENCODED_PROGRAM_H_ |
| OLD | NEW |