VirtualBox

Changeset 63531 in vbox for trunk/src


Ignore:
Timestamp:
Aug 16, 2016 9:59:33 AM (8 years ago)
Author:
vboxsync
Message:

heapoffset.cpp: dropped DECLINLINE from the checked off/ptr conversion functions as the compiler is unlikely to inline anything in strict builds anyway. (gcc 4.5.2 on solaris warns it won't inline in dbg builds)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/common/alloc/heapoffset.cpp

    r62564 r63531  
    336336
    337337/** Checked version of RTHEAPOFF_TO_PTR and RTHEAPOFF_TO_PTR_N. */
    338 DECLINLINE(void *) rtHeapOffCheckedOffToPtr(PRTHEAPOFFSETINTERNAL pHeapInt, uint32_t off, bool fNull)
     338static void *rtHeapOffCheckedOffToPtr(PRTHEAPOFFSETINTERNAL pHeapInt, uint32_t off, bool fNull)
    339339{
    340340    Assert(off || fNull);
     
    347347
    348348/** Checked version of RTHEAPOFF_TO_OFF. */
    349 DECLINLINE(uint32_t) rtHeapOffCheckedPtrToOff(PRTHEAPOFFSETINTERNAL pHeapInt, void *pv)
     349static uint32_t rtHeapOffCheckedPtrToOff(PRTHEAPOFFSETINTERNAL pHeapInt, void *pv)
    350350{
    351351    if (!pv)
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