Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(182)

Unified Diff: src/factory.h

Issue 258953009: Refactor calls to CALL_HEAP_FUNCTION. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/api.cc ('k') | src/factory.cc » ('j') | src/objects.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « src/api.cc ('k') | src/factory.cc » ('j') | src/objects.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698