VirtualBox

Changeset 2964 in vbox


Ignore:
Timestamp:
May 31, 2007 2:59:54 PM (18 years ago)
Author:
vboxsync
Message:

Don't link in testmath.c unless we use it.

Location:
trunk/src/recompiler
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/recompiler/Makefile.kmk

    r2887 r2964  
    120120        target-i386/helper.c \
    121121        target-i386/helper2.c \
    122         target-i386/translate.c \
     122        target-i386/translate.c
     123$(REM_MOD)_SOURCES.debug = \
    123124        InnoTek/testmath.c
    124125ifeq ($(filter-out win os2,$(BUILD_TARGET)),)
  • trunk/src/recompiler/VBoxRecompiler.c

    r2890 r2964  
    259259    AssertReleaseMsg(sizeof(pVM->rem.s.Env) <= REM_ENV_SIZE, ("%#x == %#x\n", sizeof(pVM->rem.s.Env), REM_ENV_SIZE));
    260260    AssertReleaseMsg(!(RT_OFFSETOF(VM, rem) & 31), ("off=%#x\n", RT_OFFSETOF(VM, rem)));
     261#ifdef DEBUG
    261262    Assert(!testmath());
     263#endif
    262264    ASSERT_STRUCT_TABLE(Misc);
    263265    ASSERT_STRUCT_TABLE(TLB);
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