Index: src/factory.h |
diff --git a/src/factory.h b/src/factory.h |
index 55d1e9a174550ced4914035086a9eeec33540feb..5ea7e33320f5d3343d588ecab8da154c56c30ae9 100644 |
--- a/src/factory.h |
+++ b/src/factory.h |
@@ -1,4 +1,4 @@ |
-// Copyright 2010 the V8 project authors. All rights reserved. |
+// Copyright 2011 the V8 project authors. All rights reserved. |
// Redistribution and use in source and binary forms, with or without |
// modification, are permitted provided that the following conditions are |
// met: |
@@ -39,7 +39,7 @@ namespace internal { |
class Factory { |
public: |
- // Allocate a new fixed array with undefined entries. |
+ // Allocate a new uninitialized fixed array. |
Handle<FixedArray> NewFixedArray( |
int size, |
PretenureFlag pretenure = NOT_TENURED); |
@@ -49,6 +49,11 @@ class Factory { |
int size, |
PretenureFlag pretenure = NOT_TENURED); |
+ // Allocate a new uninitialized fixed double array. |
+ Handle<FixedArray> NewFixedDoubleArray( |
+ int size, |
+ PretenureFlag pretenure = NOT_TENURED); |
+ |
Handle<NumberDictionary> NewNumberDictionary(int at_least_space_for); |
Handle<StringDictionary> NewStringDictionary(int at_least_space_for); |