Index: src/factory.h |
diff --git a/src/factory.h b/src/factory.h |
index 95080050a8edd49595d9ba145fe2d80147095bb4..6552a679351e6e042030b3e154bebca2f349fc06 100644 |
--- a/src/factory.h |
+++ b/src/factory.h |
@@ -45,6 +45,13 @@ |
Handle<FixedArrayBase> NewFixedDoubleArrayWithHoles( |
int size, |
PretenureFlag pretenure = NOT_TENURED); |
+ |
+ Handle<ConstantPoolArray> NewConstantPoolArray( |
+ const ConstantPoolArray::NumberOfEntries& small); |
+ |
+ Handle<ConstantPoolArray> NewExtendedConstantPoolArray( |
+ const ConstantPoolArray::NumberOfEntries& small, |
+ const ConstantPoolArray::NumberOfEntries& extended); |
Handle<OrderedHashSet> NewOrderedHashSet(); |
Handle<OrderedHashMap> NewOrderedHashMap(); |
@@ -332,6 +339,9 @@ |
Handle<FixedDoubleArray> CopyFixedDoubleArray( |
Handle<FixedDoubleArray> array); |
+ Handle<ConstantPoolArray> CopyConstantPoolArray( |
+ Handle<ConstantPoolArray> array); |
+ |
// Numbers (e.g. literals) are pretenured by the parser. |
// The return value may be a smi or a heap number. |
Handle<Object> NewNumber(double value, |