VirtualBox

Changeset 16860 in vbox for trunk


Ignore:
Timestamp:
Feb 17, 2009 4:24:38 PM (16 years ago)
Author:
vboxsync
Message:

Stricter assertions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMM.cpp

    r16859 r16860  
    10711071    for (;;)
    10721072    {
    1073         Assert(CPUMGetHyperCR3(pVM) == PGMGetHyperCR3(pVM));
     1073        Assert(CPUMGetHyperCR3(pVM) && CPUMGetHyperCR3(pVM) == PGMGetHyperCR3(pVM));
    10741074        int rc;
    10751075        do
     
    12081208    {
    12091209        int rc;
    1210         Assert(CPUMGetHyperCR3(pVM) == PGMGetHyperCR3(pVM));
     1210        Assert(CPUMGetHyperCR3(pVM) && CPUMGetHyperCR3(pVM) == PGMGetHyperCR3(pVM));
    12111211        do
    12121212        {
     
    12651265    {
    12661266        int rc;
    1267         Assert(CPUMGetHyperCR3(pVM) == PGMGetHyperCR3(pVM));
     1267        Assert(CPUMGetHyperCR3(pVM) && CPUMGetHyperCR3(pVM) == PGMGetHyperCR3(pVM));
    12681268        do
    12691269        {
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