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

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: Formatting stuff. 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 | « src/elements.cc ('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 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 int at_least_space_for, 50 int at_least_space_for,
51 MinimumCapacity capacity_option = USE_DEFAULT_MINIMUM_CAPACITY); 51 MinimumCapacity capacity_option = USE_DEFAULT_MINIMUM_CAPACITY);
52 52
53 Handle<OrderedHashSet> NewOrderedHashSet(); 53 Handle<OrderedHashSet> NewOrderedHashSet();
54 Handle<OrderedHashMap> NewOrderedHashMap(); 54 Handle<OrderedHashMap> NewOrderedHashMap();
55 55
56 Handle<WeakHashTable> NewWeakHashTable(int at_least_space_for); 56 Handle<WeakHashTable> NewWeakHashTable(int at_least_space_for);
57 57
58 Handle<DescriptorArray> NewDescriptorArray(int number_of_descriptors, 58 Handle<DescriptorArray> NewDescriptorArray(int number_of_descriptors,
59 int slack = 0); 59 int slack = 0);
60 Handle<TransitionArray> NewTransitionArray(int number_of_transitions);
61 Handle<TransitionArray> NewSimpleTransitionArray(Handle<Map> target);
60 Handle<DeoptimizationInputData> NewDeoptimizationInputData( 62 Handle<DeoptimizationInputData> NewDeoptimizationInputData(
61 int deopt_entry_count, 63 int deopt_entry_count,
62 PretenureFlag pretenure); 64 PretenureFlag pretenure);
63 Handle<DeoptimizationOutputData> NewDeoptimizationOutputData( 65 Handle<DeoptimizationOutputData> NewDeoptimizationOutputData(
64 int deopt_entry_count, 66 int deopt_entry_count,
65 PretenureFlag pretenure); 67 PretenureFlag pretenure);
66 68
67 // Create a new boxed value. 69 // Create a new boxed value.
68 Handle<Box> NewBox(Handle<Object> value); 70 Handle<Box> NewBox(Handle<Object> value);
69 71
(...skipping 541 matching lines...) Expand 10 before | Expand all | Expand 10 after
611 613
612 // Update the map cache in the native context with (keys, map) 614 // Update the map cache in the native context with (keys, map)
613 Handle<MapCache> AddToMapCache(Handle<Context> context, 615 Handle<MapCache> AddToMapCache(Handle<Context> context,
614 Handle<FixedArray> keys, 616 Handle<FixedArray> keys,
615 Handle<Map> map); 617 Handle<Map> map);
616 }; 618 };
617 619
618 } } // namespace v8::internal 620 } } // namespace v8::internal
619 621
620 #endif // V8_FACTORY_H_ 622 #endif // V8_FACTORY_H_
OLDNEW
« no previous file with comments | « src/elements.cc ('k') | src/factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698