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

Unified Diff: src/factory.cc

Issue 253513004: Fix for a GC-stress failures after r20987. (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/factory.h ('k') | src/objects.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/factory.cc
diff --git a/src/factory.cc b/src/factory.cc
index 81e93ed6a077b857c30f8e2782c8c397672e12ae..32ff4244ab429862495f156fac90cd90deaf5952 100644
--- a/src/factory.cc
+++ b/src/factory.cc
@@ -89,7 +89,7 @@ Handle<FixedArray> Factory::NewUninitializedFixedArray(int size) {
Handle<FixedArrayBase> Factory::NewFixedDoubleArray(int size,
- PretenureFlag pretenure) {
+ PretenureFlag pretenure) {
ASSERT(0 <= size);
CALL_HEAP_FUNCTION(
isolate(),
@@ -311,18 +311,15 @@ MUST_USE_RESULT Handle<String> Factory::NewTwoByteInternalizedString(
}
-template<typename T>
Handle<String> Factory::NewInternalizedStringImpl(
- T t, int chars, uint32_t hash_field) {
+ Handle<String> string, int chars, uint32_t hash_field) {
CALL_HEAP_FUNCTION(
isolate(),
- isolate()->heap()->AllocateInternalizedStringImpl(t, chars, hash_field),
+ isolate()->heap()->AllocateInternalizedStringImpl(
+ *string, chars, hash_field),
String);
}
-template
-Handle<String> Factory::NewInternalizedStringImpl(String*, int, uint32_t);
-
MaybeHandle<Map> Factory::InternalizedStringMapForString(
Handle<String> string) {
« no previous file with comments | « src/factory.h ('k') | src/objects.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698