Changeset 37192 in webkit for trunk/JavaScriptCore/VM


Ignore:
Timestamp:
Oct 2, 2008, 9:39:46 AM (17 years ago)
Author:
Darin Adler
Message:

2008-10-02 Darin Adler <Darin Adler>

Reviewed by Sam Weinig.

  • remove the "static" from declarations in a header file, since we don't want them to have internal linkage
  • VM/Machine.h: Remove the static keyword from the constant and the three inline functions that Geoff just moved here.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/VM/Machine.h

    r37191 r37192  
    327327    }
    328328
    329     static const intptr_t HostCallFrameMask = 1;
    330 
    331     static inline Register* makeHostCallFramePointer(Register* callFrame)
     329    const intptr_t HostCallFrameMask = 1;
     330
     331    inline Register* makeHostCallFramePointer(Register* callFrame)
    332332    {
    333333        return reinterpret_cast<Register*>(reinterpret_cast<intptr_t>(callFrame) | HostCallFrameMask);
    334334    }
    335335
    336     static inline bool isHostCallFrame(Register* callFrame)
     336    inline bool isHostCallFrame(Register* callFrame)
    337337    {
    338338        return reinterpret_cast<intptr_t>(callFrame) & HostCallFrameMask;
    339339    }
    340340
    341     static inline Register* stripHostCallFrameBit(Register* callFrame)
     341    inline Register* stripHostCallFrameBit(Register* callFrame)
    342342    {
    343343        return reinterpret_cast<Register*>(reinterpret_cast<intptr_t>(callFrame) & ~HostCallFrameMask);
Note: See TracChangeset for help on using the changeset viewer.