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 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
59 | 59 |
60 Handle<UnseededNumberDictionary> NewUnseededNumberDictionary( | 60 Handle<UnseededNumberDictionary> NewUnseededNumberDictionary( |
61 int at_least_space_for); | 61 int at_least_space_for); |
62 | 62 |
63 Handle<StringDictionary> NewStringDictionary(int at_least_space_for); | 63 Handle<StringDictionary> NewStringDictionary(int at_least_space_for); |
64 | 64 |
65 Handle<ObjectHashSet> NewObjectHashSet(int at_least_space_for); | 65 Handle<ObjectHashSet> NewObjectHashSet(int at_least_space_for); |
66 | 66 |
67 Handle<ObjectHashTable> NewObjectHashTable(int at_least_space_for); | 67 Handle<ObjectHashTable> NewObjectHashTable(int at_least_space_for); |
68 | 68 |
69 Handle<DescriptorArray> NewDescriptorArray(int number_of_descriptors); | 69 Handle<DescriptorArray> NewDescriptorArray(int number_of_descriptors, |
| 70 int slack = 0); |
70 Handle<DeoptimizationInputData> NewDeoptimizationInputData( | 71 Handle<DeoptimizationInputData> NewDeoptimizationInputData( |
71 int deopt_entry_count, | 72 int deopt_entry_count, |
72 PretenureFlag pretenure); | 73 PretenureFlag pretenure); |
73 Handle<DeoptimizationOutputData> NewDeoptimizationOutputData( | 74 Handle<DeoptimizationOutputData> NewDeoptimizationOutputData( |
74 int deopt_entry_count, | 75 int deopt_entry_count, |
75 PretenureFlag pretenure); | 76 PretenureFlag pretenure); |
76 // Allocates a pre-tenured empty AccessorPair. | 77 // Allocates a pre-tenured empty AccessorPair. |
77 Handle<AccessorPair> NewAccessorPair(); | 78 Handle<AccessorPair> NewAccessorPair(); |
78 | 79 |
79 Handle<TypeFeedbackInfo> NewTypeFeedbackInfo(); | 80 Handle<TypeFeedbackInfo> NewTypeFeedbackInfo(); |
(...skipping 426 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
506 // Update the map cache in the native context with (keys, map) | 507 // Update the map cache in the native context with (keys, map) |
507 Handle<MapCache> AddToMapCache(Handle<Context> context, | 508 Handle<MapCache> AddToMapCache(Handle<Context> context, |
508 Handle<FixedArray> keys, | 509 Handle<FixedArray> keys, |
509 Handle<Map> map); | 510 Handle<Map> map); |
510 }; | 511 }; |
511 | 512 |
512 | 513 |
513 } } // namespace v8::internal | 514 } } // namespace v8::internal |
514 | 515 |
515 #endif // V8_FACTORY_H_ | 516 #endif // V8_FACTORY_H_ |
OLD | NEW |