Changeset 11920 in webkit for trunk/JavaScriptCore/kjs/internal.cpp
- Timestamp:
- Jan 6, 2006, 3:51:00 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/kjs/internal.cpp
r11919 r11920 183 183 JSObject *StringImp::toObject(ExecState *exec) const 184 184 { 185 List args; 186 args.append(const_cast<StringImp*>(this)); 187 return static_cast<JSObject *>(exec->lexicalInterpreter()->builtinString()->construct(exec, args)); 185 return new StringInstance(exec->lexicalInterpreter()->builtinStringPrototype(), val); 188 186 } 189 187
Note:
See TracChangeset
for help on using the changeset viewer.