| Index: src/factory.h
|
| diff --git a/src/factory.h b/src/factory.h
|
| index 041c9869756ffe48d9373b8ed6a12bd82aceb27e..10fb11b4fec1e277cf361da8fb311ca02d3fcd91 100644
|
| --- a/src/factory.h
|
| +++ b/src/factory.h
|
| @@ -186,8 +186,6 @@ class Factory V8_FINAL {
|
| MUST_USE_RESULT MaybeHandle<String> NewConsString(Handle<String> left,
|
| Handle<String> right);
|
|
|
| - Handle<ConsString> NewRawConsString(String::Encoding encoding);
|
| -
|
| // Create a new sequential string containing the concatenation of the inputs.
|
| Handle<String> NewFlatConcatString(Handle<String> first,
|
| Handle<String> second);
|
| @@ -203,8 +201,6 @@ class Factory V8_FINAL {
|
| return NewProperSubString(str, begin, end);
|
| }
|
|
|
| - Handle<SlicedString> NewRawSlicedString(String::Encoding encoding);
|
| -
|
| // Creates a new external String object. There are two String encodings
|
| // in the system: ASCII and two byte. Unlike other String types, it does
|
| // not make sense to have a UTF-8 factory function for external strings,
|
| @@ -307,6 +303,14 @@ class Factory V8_FINAL {
|
|
|
| Handle<JSObject> NewFunctionPrototype(Handle<JSFunction> function);
|
|
|
| + Handle<JSObject> CopyJSObject(Handle<JSObject> object);
|
| +
|
| + Handle<JSObject> CopyJSObjectWithMemento(Handle<JSObject> object,
|
| + Handle<AllocationSite> site);
|
| +
|
| + Handle<FixedArray> CopyFixedArrayWithMap(Handle<FixedArray> array,
|
| + Handle<Map> map);
|
| +
|
| Handle<FixedArray> CopyFixedArray(Handle<FixedArray> array);
|
|
|
| // This method expects a COW array in new space, and creates a copy
|
|
|