Changeset 36122 in webkit for trunk/JavaScriptCore/kjs/JSObject.h


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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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.