Ignore:
Timestamp:
Apr 29, 2009, 6:21:52 PM (16 years ago)
Author:
[email protected]
Message:

Clean up ArgList to be a trivial type

Reviewed by Gavin Barraclough

Separate out old ArgList logic to handle buffering and marking arguments
into a distinct MarkedArgumentBuffer type. ArgList becomes a trivial
struct of a pointer and length.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/runtime/StringConstructor.cpp

    r42989 r43037  
    3434    ArgList::const_iterator end = args.end();
    3535    for (ArgList::const_iterator it = args.begin(); it != end; ++it)
    36         *p++ = static_cast<UChar>((*it).jsValue().toUInt32(exec));
     36        *p++ = static_cast<UChar>((*it).toUInt32(exec));
    3737    return jsString(exec, UString(buf, p - buf, false));
    3838}
Note: See TracChangeset for help on using the changeset viewer.