Lines Matching refs:mode
149 static inline bool IsConstructCall(Mode mode) { in IsConstructCall() argument
150 return mode == CONSTRUCT_CALL; in IsConstructCall()
152 static inline bool IsCodeTarget(Mode mode) { in IsCodeTarget() argument
153 return mode <= LAST_CODE_ENUM; in IsCodeTarget()
156 static inline bool IsGCRelocMode(Mode mode) { in IsGCRelocMode() argument
157 return mode <= LAST_GCED_ENUM; in IsGCRelocMode()
159 static inline bool IsJSReturn(Mode mode) { in IsJSReturn() argument
160 return mode == JS_RETURN; in IsJSReturn()
162 static inline bool IsComment(Mode mode) { in IsComment() argument
163 return mode == COMMENT; in IsComment()
165 static inline bool IsPosition(Mode mode) { in IsPosition() argument
166 return mode == POSITION || mode == STATEMENT_POSITION; in IsPosition()
168 static inline bool IsStatementPosition(Mode mode) { in IsStatementPosition() argument
169 return mode == STATEMENT_POSITION; in IsStatementPosition()
171 static inline bool IsExternalReference(Mode mode) { in IsExternalReference() argument
172 return mode == EXTERNAL_REFERENCE; in IsExternalReference()
174 static inline bool IsInternalReference(Mode mode) { in IsInternalReference() argument
175 return mode == INTERNAL_REFERENCE; in IsInternalReference()
177 static inline int ModeMask(Mode mode) { return 1 << mode; } in ModeMask() argument
339 bool SetMode(RelocInfo::Mode mode) { in SetMode() argument
340 return (mode_mask_ & 1 << mode) ? (rinfo_.rmode_ = mode, true) : false; in SetMode()