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

Unified Diff: courgette/encoded_program.h

Issue 149597: Code changes to get the code to compile under GCC.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 5 months 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/encode_decode_unittest.cc ('k') | courgette/encoded_program.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: courgette/encoded_program.h
===================================================================
--- courgette/encoded_program.h (revision 21002)
+++ courgette/encoded_program.h (working copy)
@@ -54,7 +54,18 @@
bool AssembleTo(SinkStream *buffer);
private:
- enum OP; // Binary assembly language operations.
+ // Binary assembly language operations.
+ enum OP {
+ ORIGIN, // ORIGIN <rva> - set address for subsequent assembly.
+ COPY, // COPY <count> <bytes> - copy bytes to output.
+ COPY1, // COPY1 <byte> - same as COPY 1 <byte>.
+ REL32, // REL32 <index> - emit rel32 encoded reference to address at
+ // address table offset <index>
+ ABS32, // ABS32 <index> - emit abs32 encoded reference to address at
+ // address table offset <index>
+ MAKE_BASE_RELOCATION_TABLE, // Emit base relocation table blocks.
+ OP_LAST
+ };
void DebuggingSummary();
void GenerateBaseRelocations(SinkStream *buffer);
@@ -80,4 +91,4 @@
};
} // namespace courgette
-#endif // COURGETTE_ENCODED_FORMAT_H_
+#endif // COURGETTE_ENCODED_PROGRAM_H_
Property changes on: courgette/encoded_program.h
___________________________________________________________________
Name: svn:eol-style
+ LF
« no previous file with comments | « courgette/encode_decode_unittest.cc ('k') | courgette/encoded_program.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698