| Index: src/assembler.h
|
| diff --git a/src/assembler.h b/src/assembler.h
|
| index 8907b6a4727ca47b512c7d74e32eee2d23bcde84..eb00f8a7e640c619f7ddc04885201ead18a1f5ac 100644
|
| --- a/src/assembler.h
|
| +++ b/src/assembler.h
|
| @@ -393,6 +393,11 @@ class RelocInfo {
|
| NONE64, // never recorded 64-bit value
|
| CODE_AGE_SEQUENCE, // Not stored in RelocInfo array, used explictly by
|
| // code aging.
|
| +
|
| + // Encoded internal reference, used only on MIPS and MIPS64.
|
| + // Re-uses previous ARM-only encoding, to fit in RealRelocMode space.
|
| + INTERNAL_REFERENCE_ENCODED = CONST_POOL,
|
| +
|
| FIRST_REAL_RELOC_MODE = CODE_TARGET,
|
| LAST_REAL_RELOC_MODE = VENEER_POOL,
|
| FIRST_PSEUDO_RELOC_MODE = CODE_AGE_SEQUENCE,
|
| @@ -465,6 +470,9 @@ class RelocInfo {
|
| static inline bool IsInternalReference(Mode mode) {
|
| return mode == INTERNAL_REFERENCE;
|
| }
|
| + static inline bool IsInternalReferenceEncoded(Mode mode) {
|
| + return mode == INTERNAL_REFERENCE_ENCODED;
|
| + }
|
| static inline bool IsDebugBreakSlot(Mode mode) {
|
| return mode == DEBUG_BREAK_SLOT;
|
| }
|
|
|