Lines Matching refs:insnFlags
149 InsnFlags* insnFlags;
175 INLINE bool dvmInsnIsOpcode(const InsnFlags* insnFlags, int addr) {
176 return (insnFlags[addr] & kInsnFlagWidthMask) != 0;
182 INLINE int dvmInsnGetWidth(const InsnFlags* insnFlags, int addr) {
183 return insnFlags[addr] & kInsnFlagWidthMask;
189 INLINE bool dvmInsnIsChanged(const InsnFlags* insnFlags, int addr) {
190 return (insnFlags[addr] & kInsnFlagChanged) != 0;
192 INLINE void dvmInsnSetChanged(InsnFlags* insnFlags, int addr, bool changed)
195 insnFlags[addr] |= kInsnFlagChanged;
197 insnFlags[addr] &= ~kInsnFlagChanged;
203 INLINE bool dvmInsnIsVisited(const InsnFlags* insnFlags, int addr) {
204 return (insnFlags[addr] & kInsnFlagVisited) != 0;
206 INLINE void dvmInsnSetVisited(InsnFlags* insnFlags, int addr, bool changed)
209 insnFlags[addr] |= kInsnFlagVisited;
211 insnFlags[addr] &= ~kInsnFlagVisited;
217 INLINE bool dvmInsnIsVisitedOrChanged(const InsnFlags* insnFlags, int addr) {
218 return (insnFlags[addr] & (kInsnFlagVisited|kInsnFlagChanged)) != 0;
224 INLINE bool dvmInsnIsInTry(const InsnFlags* insnFlags, int addr) {
225 return (insnFlags[addr] & kInsnFlagInTry) != 0;
227 INLINE void dvmInsnSetInTry(InsnFlags* insnFlags, int addr, bool inTry)
231 insnFlags[addr] |= kInsnFlagInTry;
233 // insnFlags[addr] &= ~kInsnFlagInTry;
239 INLINE bool dvmInsnIsBranchTarget(const InsnFlags* insnFlags, int addr) {
240 return (insnFlags[addr] & kInsnFlagBranchTarget) != 0;
242 INLINE void dvmInsnSetBranchTarget(InsnFlags* insnFlags, int addr,
247 insnFlags[addr] |= kInsnFlagBranchTarget;
249 // insnFlags[addr] &= ~kInsnFlagBranchTarget;
255 INLINE bool dvmInsnIsGcPoint(const InsnFlags* insnFlags, int addr) {
256 return (insnFlags[addr] & kInsnFlagGcPoint) != 0;
258 INLINE void dvmInsnSetGcPoint(InsnFlags* insnFlags, int addr,
263 insnFlags[addr] |= kInsnFlagGcPoint;
265 // insnFlags[addr] &= ~kInsnFlagGcPoint;
273 const InsnFlags* insnFlags, int newInstanceCount);
303 * Verify bytecode in "meth". "insnFlags" should be populated with