Lines Matching refs:pJumpTable
559 PPATCHJUMPTABLE pJumpTable;
566 pJumpTable = (PPATCHJUMPTABLE) pJumpTableGC;
568 pJumpTable = (PPATCHJUMPTABLE) (pJumpTableGC - pVM->patm.s.pPatchMemGC + pVM->patm.s.pPatchMemHC);
570 Log(("Nr addresses = %d, insert pos = %d\n", pJumpTable->cAddresses, pJumpTable->ulInsertPos));
571 if (pJumpTable->cAddresses < pJumpTable->nrSlots)
575 for (i=0;i<pJumpTable->nrSlots;i++)
577 if (pJumpTable->Slot[i].pInstrGC == 0)
579 pJumpTable->Slot[i].pInstrGC = pBranchTarget;
581 pJumpTable->Slot[i].pRelPatchGC = pRelBranchPatch;
582 pJumpTable->cAddresses++;
586 AssertReturn(i < pJumpTable->nrSlots, VERR_INTERNAL_ERROR);
597 Assert(pJumpTable->ulInsertPos < pJumpTable->nrSlots);
598 Assert((pJumpTable->nrSlots & 1) == 0);
600 pJumpTable->ulInsertPos &= (pJumpTable->nrSlots-1);
601 pJumpTable->Slot[pJumpTable->ulInsertPos].pInstrGC = pBranchTarget;
603 pJumpTable->Slot[pJumpTable->ulInsertPos].pRelPatchGC = pRelBranchPatch;
605 pJumpTable->ulInsertPos = (pJumpTable->ulInsertPos+1) & (pJumpTable->nrSlots-1);