OLD | NEW |
1 // Copyright 2014 the V8 project authors. All rights reserved. | 1 // Copyright 2014 the V8 project authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef V8_FACTORY_H_ | 5 #ifndef V8_FACTORY_H_ |
6 #define V8_FACTORY_H_ | 6 #define V8_FACTORY_H_ |
7 | 7 |
8 #include "isolate.h" | 8 #include "isolate.h" |
9 | 9 |
10 namespace v8 { | 10 namespace v8 { |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
44 int number_of_int32_entries); | 44 int number_of_int32_entries); |
45 | 45 |
46 Handle<SeededNumberDictionary> NewSeededNumberDictionary( | 46 Handle<SeededNumberDictionary> NewSeededNumberDictionary( |
47 int at_least_space_for); | 47 int at_least_space_for); |
48 | 48 |
49 Handle<UnseededNumberDictionary> NewUnseededNumberDictionary( | 49 Handle<UnseededNumberDictionary> NewUnseededNumberDictionary( |
50 int at_least_space_for); | 50 int at_least_space_for); |
51 | 51 |
52 Handle<NameDictionary> NewNameDictionary(int at_least_space_for); | 52 Handle<NameDictionary> NewNameDictionary(int at_least_space_for); |
53 | 53 |
54 Handle<ObjectHashSet> NewObjectHashSet(int at_least_space_for); | |
55 | |
56 Handle<ObjectHashTable> NewObjectHashTable( | 54 Handle<ObjectHashTable> NewObjectHashTable( |
57 int at_least_space_for, | 55 int at_least_space_for, |
58 MinimumCapacity capacity_option = USE_DEFAULT_MINIMUM_CAPACITY); | 56 MinimumCapacity capacity_option = USE_DEFAULT_MINIMUM_CAPACITY); |
59 | 57 |
60 Handle<OrderedHashSet> NewOrderedHashSet(); | 58 Handle<OrderedHashSet> NewOrderedHashSet(); |
61 Handle<OrderedHashMap> NewOrderedHashMap(); | 59 Handle<OrderedHashMap> NewOrderedHashMap(); |
62 | 60 |
63 Handle<WeakHashTable> NewWeakHashTable(int at_least_space_for); | 61 Handle<WeakHashTable> NewWeakHashTable(int at_least_space_for); |
64 | 62 |
65 Handle<DescriptorArray> NewDescriptorArray(int number_of_descriptors, | 63 Handle<DescriptorArray> NewDescriptorArray(int number_of_descriptors, |
(...skipping 534 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
600 | 598 |
601 // Update the map cache in the native context with (keys, map) | 599 // Update the map cache in the native context with (keys, map) |
602 Handle<MapCache> AddToMapCache(Handle<Context> context, | 600 Handle<MapCache> AddToMapCache(Handle<Context> context, |
603 Handle<FixedArray> keys, | 601 Handle<FixedArray> keys, |
604 Handle<Map> map); | 602 Handle<Map> map); |
605 }; | 603 }; |
606 | 604 |
607 } } // namespace v8::internal | 605 } } // namespace v8::internal |
608 | 606 |
609 #endif // V8_FACTORY_H_ | 607 #endif // V8_FACTORY_H_ |
OLD | NEW |