Changeset 48083 in webkit for trunk/JavaScriptCore
- Timestamp:
- Sep 4, 2009, 7:07:32 PM (16 years ago)
- Location:
- trunk/JavaScriptCore
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/ChangeLog
r48077 r48083 1 2009-09-04 Oliver Hunt <[email protected]> 2 3 Reviewed by Gavin Barraclough. 4 5 [[ToString]] conversion should use the actual toString function for String objects. 6 7 Remove incorrect specialisations of toString conversions on StringObject. 8 9 * JavaScriptCore.exp: 10 * runtime/StringObject.cpp: 11 * runtime/StringObject.h: 12 1 13 2009-09-04 Steve Falkenburg <[email protected]> 2 14 -
trunk/JavaScriptCore/JavaScriptCore.exp
r47799 r48083 114 114 __ZN3JSC12SmallStrings17createEmptyStringEPNS_12JSGlobalDataE 115 115 __ZN3JSC12StringObject14deletePropertyEPNS_9ExecStateERKNS_10IdentifierE 116 __ZN3JSC12StringObject14toThisJSStringEPNS_9ExecStateE117 116 __ZN3JSC12StringObject16getPropertyNamesEPNS_9ExecStateERNS_17PropertyNameArrayE 118 117 __ZN3JSC12StringObject18getOwnPropertySlotEPNS_9ExecStateERKNS_10IdentifierERNS_12PropertySlotE … … 336 335 __ZNK3JSC11Interpreter18retrieveLastCallerEPNS_9ExecStateERiRlRNS_7UStringERNS_7JSValueE 337 336 __ZNK3JSC12DateInstance7getTimeERdRi 338 __ZNK3JSC12StringObject12toThisStringEPNS_9ExecStateE339 __ZNK3JSC12StringObject8toStringEPNS_9ExecStateE340 337 __ZNK3JSC14JSGlobalObject14isDynamicScopeEv 341 338 __ZNK3JSC16InternalFunction9classInfoEv -
trunk/JavaScriptCore/runtime/StringObject.cpp
r47780 r48083 91 91 } 92 92 93 UString StringObject::toString(ExecState*) const94 {95 return internalValue()->value();96 }97 98 UString StringObject::toThisString(ExecState*) const99 {100 return internalValue()->value();101 }102 103 JSString* StringObject::toThisJSString(ExecState*)104 {105 return internalValue();106 }107 108 93 } // namespace JSC -
trunk/JavaScriptCore/runtime/StringObject.h
r47780 r48083 54 54 protected: 55 55 StringObject(PassRefPtr<Structure>, JSString*); 56 57 private:58 virtual UString toString(ExecState*) const;59 virtual UString toThisString(ExecState*) const;60 virtual JSString* toThisJSString(ExecState*);61 56 }; 62 57
Note:
See TracChangeset
for help on using the changeset viewer.