Chromium Code Reviews| Index: src/assembler.h |
| =================================================================== |
| --- src/assembler.h (revision 6848) |
| +++ src/assembler.h (working copy) |
| @@ -184,6 +184,14 @@ |
| // we do not normally record relocation info. |
| static const char* kFillerCommentString; |
| + // The size of a comment is equal to tree bytes for the extra tagged pc + |
|
Søren Thygesen Gjesse
2011/02/21 13:27:20
tree -> three
|
| + // the tag for the data, and kPointerSize for the actual pointer to the |
| + // comment. |
| + static const int kRelocCommentSize = 3 + kPointerSize; |
| + |
| + // The maximum size for a call instruction including pc-jump. |
| + static const int kMaxCallSize = 6; |
| + |
| enum Mode { |
| // Please note the order is important (see IsCodeTarget, IsGCRelocMode). |
| CONSTRUCT_CALL, // code target that is a call to a JavaScript constructor. |