Lines Matching defs:insnFlags
116 static bool verifyInstruction(const Method* meth, InsnFlags* insnFlags,\
422 const InsnFlags* insnFlags, int newInstanceCount)
459 int width = dvmInsnGetWidth(insnFlags, addr);
2580 static bool updateRegisters(const Method* meth, InsnFlags* insnFlags,
2587 if (!dvmInsnIsVisitedOrChanged(insnFlags, nextInsn)) {
2597 dvmInsnSetChanged(insnFlags, nextInsn, true);
2658 dvmInsnSetChanged(insnFlags, nextInsn, true);
3027 const InsnFlags* insnFlags = vdata->insnFlags;
3059 interesting = dvmInsnIsOpcode(insnFlags, i);
3062 interesting = dvmInsnIsGcPoint(insnFlags, i) ||
3063 dvmInsnIsBranchTarget(insnFlags, i);
3066 interesting = dvmInsnIsBranchTarget(insnFlags, i);
3077 //if (dvmInsnIsOpcode(insnFlags, i))
3121 interesting = dvmInsnIsOpcode(insnFlags, i);
3124 interesting = dvmInsnIsGcPoint(insnFlags, i) ||
3125 dvmInsnIsBranchTarget(insnFlags, i);
3128 interesting = dvmInsnIsBranchTarget(insnFlags, i);
3232 * in "insnFlags".
3239 static bool replaceFailingInstruction(const Method* meth, InsnFlags* insnFlags,
3319 width = dvmInsnGetWidth(insnFlags, insnIdx);
3609 InsnFlags* insnFlags = vdata->insnFlags;
3619 dvmInsnSetChanged(insnFlags, 0, true);
3647 if (dvmInsnIsChanged(insnFlags, insnIdx))
3673 if (dvmInsnIsBranchTarget(insnFlags, insnIdx)) {
3705 if (!verifyInstruction(meth, insnFlags, regTable, insnIdx,
3715 dvmInsnSetVisited(insnFlags, insnIdx, true);
3716 dvmInsnSetChanged(insnFlags, insnIdx, false);
3730 insnIdx += dvmInsnGetWidth(insnFlags, insnIdx))
3745 dvmInsnSetVisited(insnFlags, insnIdx, true);
3748 if (!dvmInsnIsVisited(insnFlags, insnIdx)) {
3791 * clear any other flags in "insnFlags".
3796 static bool verifyInstruction(const Method* meth, InsnFlags* insnFlags,
3805 if (dvmInsnIsVisited(insnFlags, insnIdx)) {
3855 if ((nextFlags & kInstrCanThrow) != 0 && dvmInsnIsInTry(insnFlags, insnIdx))
5833 if (!replaceFailingInstruction(meth, insnFlags, insnIdx, failure)) {
5863 int insnWidth = dvmInsnGetWidth(insnFlags, insnIdx);
5883 if (!updateRegisters(meth, insnFlags, regTable, insnIdx+insnWidth,
5892 dvmInsnSetChanged(insnFlags, insnIdx+insnWidth, true);
5911 if (!dvmGetBranchOffset(meth, insnFlags, insnIdx, &branchTarget,
5925 if (!updateRegisters(meth, insnFlags, regTable, insnIdx+branchTarget,
5965 if (!updateRegisters(meth, insnFlags, regTable, absOffset,
5976 if ((nextFlags & kInstrCanThrow) != 0 && dvmInsnIsInTry(insnFlags, insnIdx))
5999 if (!updateRegisters(meth, insnFlags, regTable,
6044 *pStartGuess = insnIdx + dvmInsnGetWidth(insnFlags, insnIdx);
6051 dvmInsnGetWidth(insnFlags, *pStartGuess) != 0);
6084 const InsnFlags* insnFlags = vdata->insnFlags;
6088 bool branchTarget = dvmInsnIsBranchTarget(insnFlags, addr);