VirtualBox

Changeset 13836 in vbox for trunk/src/recompiler_new


Ignore:
Timestamp:
Nov 5, 2008 2:42:54 AM (16 years ago)
Author:
vboxsync
Message:

s/ELEMENTS/RT_ELEMENTS/g - retiring ELEMENTS (finally).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/recompiler_new/VBoxRecompiler.c

    r13835 r13836  
    202202        .cArgsMax = 1,
    203203        .paArgDescs = &g_aArgRemStep[0],
    204         .cArgDescs = ELEMENTS(g_aArgRemStep),
     204        .cArgDescs = RT_ELEMENTS(g_aArgRemStep),
    205205        .pResultDesc = NULL,
    206206        .fFlags = 0,
     
    325325    if (!fRegisteredCmds)
    326326    {
    327         int rc = DBGCRegisterCommands(&g_aCmds[0], ELEMENTS(g_aCmds));
     327        int rc = DBGCRegisterCommands(&g_aCmds[0], RT_ELEMENTS(g_aCmds));
    328328        if (RT_SUCCESS(rc))
    329329            fRegisteredCmds = true;
     
    536536        if (RT_FAILURE(rc))
    537537            return rc;
    538         if (pRem->cInvalidatedPages > ELEMENTS(pRem->aGCPtrInvalidatedPages))
     538        if (pRem->cInvalidatedPages > RT_ELEMENTS(pRem->aGCPtrInvalidatedPages))
    539539        {
    540540            AssertMsgFailed(("cInvalidatedPages=%#x\n", pRem->cInvalidatedPages));
     
    47254725    {
    47264726        default:
    4727             if (uEAX < ELEMENTS(apsz))
     4727            if (uEAX < RT_ELEMENTS(apsz))
    47284728                Log(("REM: linux syscall %3d: %s (eip=%08x ebx=%08x ecx=%08x edx=%08x esi=%08x edi=%08x ebp=%08x)\n",
    47294729                     uEAX, apsz[uEAX], CPUMGetGuestEIP(pVM), CPUMGetGuestEBX(pVM), CPUMGetGuestECX(pVM),
     
    50545054    {
    50555055        default:
    5056             if (uEAX < ELEMENTS(apsz))
     5056            if (uEAX < RT_ELEMENTS(apsz))
    50575057            {
    50585058                uint32_t au32Args[8] = {0};
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette