Changeset 35776 in webkit for trunk/JavaScriptCore


Ignore:
Timestamp:
Aug 15, 2008, 1:32:01 AM (17 years ago)
Author:
[email protected]
Message:

Build fix.

  • JavaScriptCore.xcodeproj/project.pbxproj: Marked OpaqueJSString as private
  • kjs/identifier.cpp: (KJS::Identifier::checkSameIdentifierTable):
  • kjs/identifier.h: (KJS::Identifier::add): Since checkSameIdentifierTable is exported for debug build's sake, gcc wants it to be non-inline in release builds, too.
Location:
trunk/JavaScriptCore
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/ChangeLog

    r35775 r35776  
     12008-08-15  Alexey Proskuryakov  <[email protected]>
     2
     3        Build fix.
     4
     5        * JavaScriptCore.xcodeproj/project.pbxproj: Marked OpaqueJSString as private
     6
     7        * kjs/identifier.cpp:
     8        (KJS::Identifier::checkSameIdentifierTable):
     9        * kjs/identifier.h:
     10        (KJS::Identifier::add):
     11        Since checkSameIdentifierTable is exported for debug build's sake, gcc wants it to be
     12        non-inline in release builds, too.
     13
     14        * JavaScriptCore.exp: Don't export inline OpaqueJSString destructor.
     15
    1162008-08-15  Alexey Proskuryakov  <[email protected]>
    217
  • trunk/JavaScriptCore/JavaScriptCore.exp

    r35775 r35776  
    7777__Z15jsRegExpCompilePKti24JSRegExpIgnoreCaseOption23JSRegExpMultilineOptionPjPPKc
    7878__Z15jsRegExpExecutePK8JSRegExpPKtiiPii
    79 __ZN14OpaqueJSStringD1Ev
    8079__ZN3KJS10Identifier11addSlowCaseEPNS_12JSGlobalDataEPNS_7UString3RepE
    8180__ZN3KJS10Identifier11addSlowCaseEPNS_9ExecStateEPNS_7UString3RepE
  • trunk/JavaScriptCore/JavaScriptCore.xcodeproj/project.pbxproj

    r35775 r35776  
    275275                BCF605140E203EF800B9A64D /* ArgList.h in Headers */ = {isa = PBXBuildFile; fileRef = BCF605120E203EF800B9A64D /* ArgList.h */; settings = {ATTRIBUTES = (Private, ); }; };
    276276                C0A272630E50A06300E96E15 /* NotFound.h in Headers */ = {isa = PBXBuildFile; fileRef = C0A2723F0E509F1E00E96E15 /* NotFound.h */; settings = {ATTRIBUTES = (Private, ); }; };
    277                 E124A8F70E555775003091F1 /* OpaqueJSString.h in Headers */ = {isa = PBXBuildFile; fileRef = E124A8F50E555775003091F1 /* OpaqueJSString.h */; };
     277                E124A8F70E555775003091F1 /* OpaqueJSString.h in Headers */ = {isa = PBXBuildFile; fileRef = E124A8F50E555775003091F1 /* OpaqueJSString.h */; settings = {ATTRIBUTES = (Private, ); }; };
    278278                E124A8F80E555775003091F1 /* OpaqueJSString.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E124A8F60E555775003091F1 /* OpaqueJSString.cpp */; };
    279279                E178636D0D9BEEC300D74E75 /* InitializeThreading.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E178636C0D9BEEC300D74E75 /* InitializeThreading.cpp */; };
  • trunk/JavaScriptCore/kjs/identifier.cpp

    r35775 r35776  
    234234    ASSERT(rep->identifierTable() == globalData->identifierTable);
    235235}
    236 
     236#else
     237void Identifier::checkSameIdentifierTable(ExecState*, UString::Rep*)
     238{
     239}
     240
     241void Identifier::checkSameIdentifierTable(JSGlobalData*, UString::Rep*)
     242{
     243}
    237244#endif
    238245
  • trunk/JavaScriptCore/kjs/identifier.h

    r35775 r35776  
    9393        {
    9494            if (r->identifierTable()) {
     95#ifndef NDEBUG
    9596                checkSameIdentifierTable(exec, r);
     97#endif
    9698                return r;
    9799            }
     
    101103        {
    102104            if (r->identifierTable()) {
     105#ifndef NDEBUG
    103106                checkSameIdentifierTable(globalData, r);
     107#endif
    104108                return r;
    105109            }
     
    129133    }
    130134
    131 #ifdef NDEBUG
    132     void UString::checkSameIdentifierTable(ExecState*, UString::Rep*) {}
    133     void UString::checkSameIdentifierTable(JSGlobalData*, UString::Rep*) {}
    134 #endif
    135 
    136135    IdentifierTable* createIdentifierTable();
    137136    void deleteIdentifierTable(IdentifierTable*);
Note: See TracChangeset for help on using the changeset viewer.