OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
4 // met: | 4 // met: |
5 // | 5 // |
6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
67 Handle<SeededNumberDictionary> NewSeededNumberDictionary( | 67 Handle<SeededNumberDictionary> NewSeededNumberDictionary( |
68 int at_least_space_for); | 68 int at_least_space_for); |
69 | 69 |
70 Handle<UnseededNumberDictionary> NewUnseededNumberDictionary( | 70 Handle<UnseededNumberDictionary> NewUnseededNumberDictionary( |
71 int at_least_space_for); | 71 int at_least_space_for); |
72 | 72 |
73 Handle<NameDictionary> NewNameDictionary(int at_least_space_for); | 73 Handle<NameDictionary> NewNameDictionary(int at_least_space_for); |
74 | 74 |
75 Handle<ObjectHashSet> NewObjectHashSet(int at_least_space_for); | 75 Handle<ObjectHashSet> NewObjectHashSet(int at_least_space_for); |
76 | 76 |
77 Handle<ObjectHashTable> NewObjectHashTable(int at_least_space_for); | 77 Handle<ObjectHashTable> NewObjectHashTable( |
| 78 int at_least_space_for, |
| 79 MinimumCapacity capacity_option = USE_DEFAULT_MINIMUM_CAPACITY); |
78 | 80 |
79 Handle<WeakHashTable> NewWeakHashTable(int at_least_space_for); | 81 Handle<WeakHashTable> NewWeakHashTable(int at_least_space_for); |
80 | 82 |
81 Handle<DescriptorArray> NewDescriptorArray(int number_of_descriptors, | 83 Handle<DescriptorArray> NewDescriptorArray(int number_of_descriptors, |
82 int slack = 0); | 84 int slack = 0); |
83 Handle<DeoptimizationInputData> NewDeoptimizationInputData( | 85 Handle<DeoptimizationInputData> NewDeoptimizationInputData( |
84 int deopt_entry_count, | 86 int deopt_entry_count, |
85 PretenureFlag pretenure); | 87 PretenureFlag pretenure); |
86 Handle<DeoptimizationOutputData> NewDeoptimizationOutputData( | 88 Handle<DeoptimizationOutputData> NewDeoptimizationOutputData( |
87 int deopt_entry_count, | 89 int deopt_entry_count, |
(...skipping 587 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
675 } | 677 } |
676 | 678 |
677 private: | 679 private: |
678 Isolate* isolate_; | 680 Isolate* isolate_; |
679 }; | 681 }; |
680 | 682 |
681 | 683 |
682 } } // namespace v8::internal | 684 } } // namespace v8::internal |
683 | 685 |
684 #endif // V8_FACTORY_H_ | 686 #endif // V8_FACTORY_H_ |
OLD | NEW |