Changeset 36122 in webkit for trunk/JavaScriptCore


Ignore:
Timestamp:
Sep 5, 2008, 5:56:43 PM (17 years ago)
Author:
[email protected]
Message:

Build fix.

  • kjs/JSObject.h: Move the inline virtual destructor after a non-inline

virtual function so that the symbol for the vtable is not marked as a
weakly exported symbol.

Location:
trunk/JavaScriptCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/ChangeLog

    r36117 r36122  
     12008-09-05  Mark Rowe  <[email protected]>
     2
     3        Build fix.
     4
     5        * kjs/JSObject.h: Move the inline virtual destructor after a non-inline
     6        virtual function so that the symbol for the vtable is not marked as a
     7        weakly exported symbol.
     8
    192008-09-05  Darin Adler  <[email protected]>
    210
  • trunk/JavaScriptCore/kjs/JSObject.h

    r36081 r36122  
    5959        JSObject(PassRefPtr<StructureID>);
    6060        JSObject(JSObject* prototype);
     61
     62        virtual void mark();
     63
     64        // The inline virtual destructor cannot be the first virtual function declared
     65        // in the class as it results in the vtable being generated as a weak symbol
    6166        virtual ~JSObject();
    62 
    63         virtual void mark();
    6467
    6568        bool inherits(const ClassInfo* classInfo) const { return JSCell::isObject(classInfo); }
Note: See TracChangeset for help on using the changeset viewer.