Lines Matching refs:flags
37 // and some additional informative flags (must generate, is constant, etc).
77 static inline bool bytecodeUsesAsNumber(NodeFlags flags)
79 return !!(flags & NodeBytecodeUsesAsNumber);
82 static inline bool bytecodeCanTruncateInteger(NodeFlags flags)
84 return !bytecodeUsesAsNumber(flags);
87 static inline bool bytecodeCanIgnoreNegativeZero(NodeFlags flags)
89 return !(flags & NodeBytecodeNeedsNegZero);
98 static inline bool nodeMayOverflow(NodeFlags flags, RareCaseProfilingSource source)
112 return !!(flags & mask);
115 static inline bool nodeMayNegZero(NodeFlags flags, RareCaseProfilingSource source)
129 return !!(flags & mask);
132 static inline bool nodeCanSpeculateInt32(NodeFlags flags, RareCaseProfilingSource source)
134 if (nodeMayOverflow(flags, source))
135 return !bytecodeUsesAsNumber(flags);
137 if (nodeMayNegZero(flags, source))
138 return bytecodeCanIgnoreNegativeZero(flags);
143 static inline bool nodeCanSpeculateInt52(NodeFlags flags, RareCaseProfilingSource source)
145 if (nodeMayNegZero(flags, source))
146 return bytecodeCanIgnoreNegativeZero(flags);
153 static inline NodeFlags canonicalResultRepresentation(NodeFlags flags)
155 switch (flags) {
159 return flags;