Lines Matching refs:InsnFlags
183 InsnFlags* insnFlags;
221 INLINE bool dvmInsnIsOpcode(const InsnFlags* insnFlags, int addr) {
222 return (insnFlags[addr] & kInsnFlagWidthMask) != 0;
228 INLINE int dvmInsnGetWidth(const InsnFlags* insnFlags, int addr) {
229 return insnFlags[addr] & kInsnFlagWidthMask;
235 INLINE bool dvmInsnIsChanged(const InsnFlags* insnFlags, int addr) {
236 return (insnFlags[addr] & kInsnFlagChanged) != 0;
238 INLINE void dvmInsnSetChanged(InsnFlags* insnFlags, int addr, bool changed)
241 insnFlags[addr] |= kInsnFlagChanged;
243 insnFlags[addr] &= ~kInsnFlagChanged;
249 INLINE bool dvmInsnIsVisited(const InsnFlags* insnFlags, int addr) {
250 return (insnFlags[addr] & kInsnFlagVisited) != 0;
252 INLINE void dvmInsnSetVisited(InsnFlags* insnFlags, int addr, bool changed)
255 insnFlags[addr] |= kInsnFlagVisited;
257 insnFlags[addr] &= ~kInsnFlagVisited;
263 INLINE bool dvmInsnIsVisitedOrChanged(const InsnFlags* insnFlags, int addr) {
264 return (insnFlags[addr] & (kInsnFlagVisited|kInsnFlagChanged)) != 0;
270 INLINE bool dvmInsnIsInTry(const InsnFlags* insnFlags, int addr) {
271 return (insnFlags[addr] & kInsnFlagInTry) != 0;
273 INLINE void dvmInsnSetInTry(InsnFlags* insnFlags, int addr, bool inTry)
277 insnFlags[addr] |= kInsnFlagInTry;
279 // insnFlags[addr] &= ~kInsnFlagInTry;
285 INLINE bool dvmInsnIsBranchTarget(const InsnFlags* insnFlags, int addr) {
286 return (insnFlags[addr] & kInsnFlagBranchTarget) != 0;
288 INLINE void dvmInsnSetBranchTarget(InsnFlags* insnFlags, int addr,
293 insnFlags[addr] |= kInsnFlagBranchTarget;
295 // insnFlags[addr] &= ~kInsnFlagBranchTarget;
301 INLINE bool dvmInsnIsGcPoint(const InsnFlags* insnFlags, int addr) {
302 return (insnFlags[addr] & kInsnFlagGcPoint) != 0;
304 INLINE void dvmInsnSetGcPoint(InsnFlags* insnFlags, int addr,
309 insnFlags[addr] |= kInsnFlagGcPoint;
311 // insnFlags[addr] &= ~kInsnFlagGcPoint;
319 const InsnFlags* insnFlags, int newInstanceCount);
327 * Verify bytecode in "meth". "insnFlags" should be populated with