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

Unified Diff: src/factory.cc

Issue 669156: Removed dangerous Factory::NewUninitializedFixedArray. (Closed)
Patch Set: Created 10 years, 10 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/runtime.cc » ('j') | src/runtime.cc » ('J')
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 fa3790c4a5455ea1441d250f35b08994286612fa..8d207496418e99b12f0537d9ffc0ec66a77e6205 100644
--- a/src/factory.cc
+++ b/src/factory.cc
@@ -43,12 +43,6 @@ Handle<FixedArray> Factory::NewFixedArray(int size, PretenureFlag pretenure) {
}
-Handle<FixedArray> Factory::NewUninitializedFixedArray(int size) {
- ASSERT(0 <= size);
- CALL_HEAP_FUNCTION(Heap::AllocateUninitializedFixedArray(size), FixedArray);
-}
-
-
Handle<FixedArray> Factory::NewFixedArrayWithHoles(int size) {
ASSERT(0 <= size);
CALL_HEAP_FUNCTION(Heap::AllocateFixedArrayWithHoles(size), FixedArray);
« no previous file with comments | « src/factory.h ('k') | src/runtime.cc » ('j') | src/runtime.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698