| Index: src/factory.h
|
| diff --git a/src/factory.h b/src/factory.h
|
| index 68938bb5e774ef88aad1bb430ac767712df9ad90..d40c160ad1b1daacddb73c2c88e0f4799911f5af 100644
|
| --- a/src/factory.h
|
| +++ b/src/factory.h
|
| @@ -163,6 +163,9 @@ class Factory final {
|
| Vector<const uc16> str,
|
| PretenureFlag pretenure = NOT_TENURED);
|
|
|
| + MUST_USE_RESULT MaybeHandle<String> NewStringFromTwoByte(
|
| + const ZoneVector<uc16>* str, PretenureFlag pretenure = NOT_TENURED);
|
| +
|
| // Allocates an internalized string in old space based on the character
|
| // stream.
|
| Handle<String> NewInternalizedStringFromUtf8(Vector<const char> str,
|
| @@ -700,6 +703,9 @@ class Factory final {
|
| AllocationSpace space,
|
| Handle<AllocationSite> allocation_site);
|
|
|
| + MaybeHandle<String> NewStringFromTwoByte(const uc16* string, int length,
|
| + PretenureFlag pretenure);
|
| +
|
| // Creates a code object that is not yet fully initialized yet.
|
| inline Handle<Code> NewCodeRaw(int object_size, bool immovable);
|
|
|
|
|