Index: src/assembler.h |
diff --git a/src/assembler.h b/src/assembler.h |
index 1b4c76540757a17de02e341327d7f4dacc812064..4fb3a5654084964f934beba41e673d269f1784a0 100644 |
--- a/src/assembler.h |
+++ b/src/assembler.h |
@@ -386,6 +386,9 @@ class RelocInfo { |
// Encoded internal reference, used only on MIPS, MIPS64 and PPC. |
INTERNAL_REFERENCE_ENCODED, |
+ // Continuation points for a generator yield. |
+ GENERATOR_CONTINUATION, |
+ |
// Marks constant and veneer pools. Only used on ARM and ARM64. |
// They use a custom noncompact encoding. |
CONST_POOL, |
@@ -491,6 +494,9 @@ class RelocInfo { |
static inline bool IsCodeAgeSequence(Mode mode) { |
return mode == CODE_AGE_SEQUENCE; |
} |
+ static inline bool IsGeneratorContinuation(Mode mode) { |
+ return mode == GENERATOR_CONTINUATION; |
+ } |
static inline int ModeMask(Mode mode) { return 1 << mode; } |
// Accessors |