Changeset 20043 in webkit for trunk/JavaScriptCore/kjs/internal.cpp
- Timestamp:
- Mar 7, 2007, 5:42:39 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/kjs/internal.cpp
r15482 r20043 79 79 JSObject *StringImp::toObject(ExecState *exec) const 80 80 { 81 return new StringInstance(exec->lexicalInterpreter()->builtinStringPrototype(), val); 81 // Put the reference onto the stack so it is not subject to garbage collection. 82 // <http://bugs.webkit.org/show_bug.cgi?id=12535> 83 UString valCopy = val; 84 85 return new StringInstance(exec->lexicalInterpreter()->builtinStringPrototype(), valCopy); 82 86 } 83 87
Note:
See TracChangeset
for help on using the changeset viewer.