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

Side by Side Diff: src/factory.h

Issue 225183009: Use OrderedHashTables as the backing store of JSSet and JSMap (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Get rid of IsOrderedHashSet/Map methods Created 6 years, 8 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « include/v8.h ('k') | src/factory.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « include/v8.h ('k') | src/factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698