Changeset 104744 in webkit


Ignore:
Timestamp:
Jan 11, 2012 2:01:29 PM (12 years ago)
Author:
andersca@apple.com
Message:

Assertion failure in JSC::allocateCell trying to allocate a JSString
https://bugs.webkit.org/show_bug.cgi?id=76101

Reviewed by Adam Roben.

Remove the ExecutableBase::s_info and JSString::s_info static member variables from the .def file and
export them explicitly using the JS_EXPORTDATA macro.

member variables explicitly using

  • JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.def:
  • runtime/Executable.h:
  • runtime/JSString.h:
Location:
trunk/Source/JavaScriptCore
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/ChangeLog

    r104664 r104744  
     12012-01-11  Anders Carlsson  <andersca@apple.com>
     2
     3        Assertion failure in JSC::allocateCell trying to allocate a JSString
     4        https://bugs.webkit.org/show_bug.cgi?id=76101
     5
     6        Reviewed by Adam Roben.
     7
     8        Remove the ExecutableBase::s_info and JSString::s_info static member variables  from the .def file and
     9        export them explicitly using the JS_EXPORTDATA macro.
     10
     11        member variables explicitly using
     12        * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.def:
     13        * runtime/Executable.h:
     14        * runtime/JSString.h:
     15
    1162012-01-10  Mark Rowe  <mrowe@apple.com>
    217
  • trunk/Source/JavaScriptCore/JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.def

    r104611 r104744  
    296296    ?retrieveLastCaller@Interpreter@JSC@@QBEXPAVExecState@2@AAH1AAVUString@2@AAVJSValue@2@@Z
    297297    ?s_globalObjectMethodTable@JSGlobalObject@JSC@@1UGlobalObjectMethodTable@2@B
    298     ?s_info@ExecutableBase@JSC@@2UClassInfo@2@B
    299     ?s_info@JSString@JSC@@2UClassInfo@2@B
    300298    ?setConfigurable@PropertyDescriptor@JSC@@QAEX_N@Z
    301299    ?setDescriptor@PropertyDescriptor@JSC@@QAEXVJSValue@2@I@Z
  • trunk/Source/JavaScriptCore/runtime/Executable.h

    r103243 r104744  
    8888        static Structure* createStructure(JSGlobalData& globalData, JSGlobalObject* globalObject, JSValue proto) { return Structure::create(globalData, globalObject, proto, TypeInfo(CompoundType, StructureFlags), &s_info); }
    8989       
    90         static const ClassInfo s_info;
     90        static JS_EXPORTDATA const ClassInfo s_info;
    9191
    9292    protected:
  • trunk/Source/JavaScriptCore/runtime/JSString.h

    r104359 r104744  
    237237        static size_t offsetOfValue() { return OBJECT_OFFSETOF(JSString, m_value); }
    238238
    239         static const ClassInfo s_info;
     239        static JS_EXPORTDATA const ClassInfo s_info;
    240240
    241241        static void visitChildren(JSCell*, SlotVisitor&);
Note: See TracChangeset for help on using the changeset viewer.