#include "ExceptionHelpers.h"
#include "JSScope.h"
#include "JSString.h"
-#include "Operations.h"
+#include "JSCInlines.h"
#include <wtf/text/StringImpl.h>
namespace JSC {
CharacterType* data;
RefPtr<StringImpl> outputStringImpl = StringImpl::tryCreateUninitialized(outputLength, data);
if (!outputStringImpl)
- return PassRefPtr<StringImpl>();
+ return nullptr;
const String firstString = strings.first();
appendStringToData(data, firstString);
appendStringToData(data, strings[i]);
}
- ASSERT(data == (outputStringImpl->getCharacters<CharacterType>() + outputStringImpl->length()));
+ ASSERT(data == (outputStringImpl->characters<CharacterType>() + outputStringImpl->length()));
return outputStringImpl.release();
}