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

Side by Side Diff: src/factory.h

Issue 228333003: Handlefy Descriptor and other code in objects.cc (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Last comments. 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
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 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 int at_least_space_for, 52 int at_least_space_for,
53 MinimumCapacity capacity_option = USE_DEFAULT_MINIMUM_CAPACITY); 53 MinimumCapacity capacity_option = USE_DEFAULT_MINIMUM_CAPACITY);
54 54
55 Handle<OrderedHashSet> NewOrderedHashSet(); 55 Handle<OrderedHashSet> NewOrderedHashSet();
56 Handle<OrderedHashMap> NewOrderedHashMap(); 56 Handle<OrderedHashMap> NewOrderedHashMap();
57 57
58 Handle<WeakHashTable> NewWeakHashTable(int at_least_space_for); 58 Handle<WeakHashTable> NewWeakHashTable(int at_least_space_for);
59 59
60 Handle<DescriptorArray> NewDescriptorArray(int number_of_descriptors, 60 Handle<DescriptorArray> NewDescriptorArray(int number_of_descriptors,
61 int slack = 0); 61 int slack = 0);
62 Handle<TransitionArray> NewTransitionArray(int number_of_transitions);
63 Handle<TransitionArray> NewSimpleTransitionArray(Handle<Map> target);
62 Handle<DeoptimizationInputData> NewDeoptimizationInputData( 64 Handle<DeoptimizationInputData> NewDeoptimizationInputData(
63 int deopt_entry_count, 65 int deopt_entry_count,
64 PretenureFlag pretenure); 66 PretenureFlag pretenure);
65 Handle<DeoptimizationOutputData> NewDeoptimizationOutputData( 67 Handle<DeoptimizationOutputData> NewDeoptimizationOutputData(
66 int deopt_entry_count, 68 int deopt_entry_count,
67 PretenureFlag pretenure); 69 PretenureFlag pretenure);
68 70
69 // Create a new boxed value. 71 // Create a new boxed value.
70 Handle<Box> NewBox(Handle<Object> value); 72 Handle<Box> NewBox(Handle<Object> value);
71 73
(...skipping 541 matching lines...) Expand 10 before | Expand all | Expand 10 after
613 615
614 // Update the map cache in the native context with (keys, map) 616 // Update the map cache in the native context with (keys, map)
615 Handle<MapCache> AddToMapCache(Handle<Context> context, 617 Handle<MapCache> AddToMapCache(Handle<Context> context,
616 Handle<FixedArray> keys, 618 Handle<FixedArray> keys,
617 Handle<Map> map); 619 Handle<Map> map);
618 }; 620 };
619 621
620 } } // namespace v8::internal 622 } } // namespace v8::internal
621 623
622 #endif // V8_FACTORY_H_ 624 #endif // V8_FACTORY_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698