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

Unified Diff: src/factory.h

Issue 2356703003: Revert of [d8] Fix the shared-library build (Closed)
Patch Set: Created 4 years, 3 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/d8.gyp ('k') | src/flag-definitions.h » ('j') | no next file with comments »
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 7008e50899685f709abe6d71bf878bf55dabc362..fc287694e66b4ce91832d0f6223d051311a8c71e 100644
--- a/src/factory.h
+++ b/src/factory.h
@@ -28,8 +28,9 @@
byte kind);
// Allocates a fixed array initialized with undefined values.
- V8_EXPORT_PRIVATE Handle<FixedArray> NewFixedArray(
- int size, PretenureFlag pretenure = NOT_TENURED);
+ Handle<FixedArray> NewFixedArray(
+ int size,
+ PretenureFlag pretenure = NOT_TENURED);
// Allocate a new fixed array with non-existing entries (the hole).
Handle<FixedArray> NewFixedArrayWithHoles(
@@ -164,8 +165,9 @@
// UTF8 strings are pretenured when used for regexp literal patterns and
// flags in the parser.
- MUST_USE_RESULT V8_EXPORT_PRIVATE MaybeHandle<String> NewStringFromUtf8(
- Vector<const char> str, PretenureFlag pretenure = NOT_TENURED);
+ MUST_USE_RESULT MaybeHandle<String> NewStringFromUtf8(
+ Vector<const char> str,
+ PretenureFlag pretenure = NOT_TENURED);
MUST_USE_RESULT MaybeHandle<String> NewStringFromTwoByte(
Vector<const uc16> str,
@@ -455,11 +457,11 @@
}
// Create a JSArray with the given elements.
- V8_EXPORT_PRIVATE Handle<JSArray> NewJSArrayWithElements(
- Handle<FixedArrayBase> elements, ElementsKind elements_kind, int length,
- PretenureFlag pretenure = NOT_TENURED);
-
- V8_EXPORT_PRIVATE Handle<JSArray> NewJSArrayWithElements(
+ Handle<JSArray> NewJSArrayWithElements(Handle<FixedArrayBase> elements,
+ ElementsKind elements_kind, int length,
+ PretenureFlag pretenure = NOT_TENURED);
+
+ Handle<JSArray> NewJSArrayWithElements(
Handle<FixedArrayBase> elements,
ElementsKind elements_kind = TERMINAL_FAST_ELEMENTS_KIND,
PretenureFlag pretenure = NOT_TENURED) {
« no previous file with comments | « src/d8.gyp ('k') | src/flag-definitions.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698