VirtualBox

Changeset 14505 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Nov 24, 2008 7:10:50 AM (16 years ago)
Author:
vboxsync
Message:

small optimization

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR0/VMMR0A.asm

    r14499 r14505  
    305305    ;
    306306    mov     edi, [edx + VMMR0JMPBUF.pvSavedStack]
    307     cmp     edi, 0                      ; darwin may set this to 0.
    308     je      .nok
     307    test    edi, edi                    ; darwin may set this to 0.
     308    jz      .nok
    309309    mov     [edx + VMMR0JMPBUF.SpResume], esp
    310310    mov     esi, esp
     
    385385    ;
    386386    mov     rdi, [rdx + VMMR0JMPBUF.pvSavedStack]
    387     cmp     rdi, 0                      ; darwin may set this to 0.
    388     je      .nok
     387    test    rdi, rdi                    ; darwin may set this to 0.
     388    jz      .nok
    389389    mov     [rdx + VMMR0JMPBUF.SpResume], rsp
    390390    mov     rsi, rsp
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