VirtualBox

Changeset 2465 in vbox for trunk


Ignore:
Timestamp:
May 3, 2007 3:10:17 PM (18 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
20880
Message:

drop the builtin_frame_address attempt at stack alignment validation. (darwin)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/recompiler/target-i386/helper.c

    r2426 r2465  
    11981198{
    11991199#if defined(__DARWIN__) && defined(VBOX_STRICT)
    1200 # if 0
    1201     //uintptr_t uFrameAddr = (uintptr_t)__builtin_frame_address(0); - this is broken (uses %ebp)
    1202     //AssertMsg(!( (uFrameAddr - sizeof(uintptr_t)) & 7 ), ("uFrameAddr=%#p\n", uFrameAddr));
    1203 # else     
    12041200    uintptr_t uESP;
    12051201    __asm__ __volatile__("movl %%esp, %0" : "=r" (uESP));
    12061202    AssertMsg(!(uESP & 15), ("esp=%#p\n", uESP));
    1207 # endif
    12081203#endif
    12091204    if (env->interrupt_request & CPU_INTERRUPT_EXTERNAL_HARD)
Note: See TracChangeset for help on using the changeset viewer.

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