| 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 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 64 | 64 |
| 65 Handle<UnseededNumberDictionary> NewUnseededNumberDictionary( | 65 Handle<UnseededNumberDictionary> NewUnseededNumberDictionary( |
| 66 int at_least_space_for); | 66 int at_least_space_for); |
| 67 | 67 |
| 68 Handle<NameDictionary> NewNameDictionary(int at_least_space_for); | 68 Handle<NameDictionary> NewNameDictionary(int at_least_space_for); |
| 69 | 69 |
| 70 Handle<ObjectHashSet> NewObjectHashSet(int at_least_space_for); | 70 Handle<ObjectHashSet> NewObjectHashSet(int at_least_space_for); |
| 71 | 71 |
| 72 Handle<ObjectHashTable> NewObjectHashTable(int at_least_space_for); | 72 Handle<ObjectHashTable> NewObjectHashTable(int at_least_space_for); |
| 73 | 73 |
| 74 Handle<WeakHashTable> NewWeakHashTable(int at_least_space_for); |
| 75 |
| 74 Handle<DescriptorArray> NewDescriptorArray(int number_of_descriptors, | 76 Handle<DescriptorArray> NewDescriptorArray(int number_of_descriptors, |
| 75 int slack = 0); | 77 int slack = 0); |
| 76 Handle<DeoptimizationInputData> NewDeoptimizationInputData( | 78 Handle<DeoptimizationInputData> NewDeoptimizationInputData( |
| 77 int deopt_entry_count, | 79 int deopt_entry_count, |
| 78 PretenureFlag pretenure); | 80 PretenureFlag pretenure); |
| 79 Handle<DeoptimizationOutputData> NewDeoptimizationOutputData( | 81 Handle<DeoptimizationOutputData> NewDeoptimizationOutputData( |
| 80 int deopt_entry_count, | 82 int deopt_entry_count, |
| 81 PretenureFlag pretenure); | 83 PretenureFlag pretenure); |
| 82 // Allocates a pre-tenured empty AccessorPair. | 84 // Allocates a pre-tenured empty AccessorPair. |
| 83 Handle<AccessorPair> NewAccessorPair(); | 85 Handle<AccessorPair> NewAccessorPair(); |
| (...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 258 // overflowing the instance size. | 260 // overflowing the instance size. |
| 259 Handle<Map> CopyMap(Handle<Map> map, int extra_inobject_props); | 261 Handle<Map> CopyMap(Handle<Map> map, int extra_inobject_props); |
| 260 Handle<Map> CopyMap(Handle<Map> map); | 262 Handle<Map> CopyMap(Handle<Map> map); |
| 261 | 263 |
| 262 Handle<Map> GetElementsTransitionMap(Handle<JSObject> object, | 264 Handle<Map> GetElementsTransitionMap(Handle<JSObject> object, |
| 263 ElementsKind elements_kind); | 265 ElementsKind elements_kind); |
| 264 | 266 |
| 265 Handle<FixedArray> CopyFixedArray(Handle<FixedArray> array); | 267 Handle<FixedArray> CopyFixedArray(Handle<FixedArray> array); |
| 266 | 268 |
| 267 Handle<FixedArray> CopySizeFixedArray(Handle<FixedArray> array, | 269 Handle<FixedArray> CopySizeFixedArray(Handle<FixedArray> array, |
| 268 int new_length); | 270 int new_length, |
| 271 PretenureFlag pretenure = NOT_TENURED); |
| 269 | 272 |
| 270 Handle<FixedDoubleArray> CopyFixedDoubleArray( | 273 Handle<FixedDoubleArray> CopyFixedDoubleArray( |
| 271 Handle<FixedDoubleArray> array); | 274 Handle<FixedDoubleArray> array); |
| 272 | 275 |
| 273 // Numbers (e.g. literals) are pretenured by the parser. | 276 // Numbers (e.g. literals) are pretenured by the parser. |
| 274 Handle<Object> NewNumber(double value, | 277 Handle<Object> NewNumber(double value, |
| 275 PretenureFlag pretenure = NOT_TENURED); | 278 PretenureFlag pretenure = NOT_TENURED); |
| 276 | 279 |
| 277 Handle<Object> NewNumberFromInt(int32_t value, | 280 Handle<Object> NewNumberFromInt(int32_t value, |
| 278 PretenureFlag pretenure = NOT_TENURED); | 281 PretenureFlag pretenure = NOT_TENURED); |
| (...skipping 379 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 658 } | 661 } |
| 659 | 662 |
| 660 private: | 663 private: |
| 661 Isolate* isolate_; | 664 Isolate* isolate_; |
| 662 }; | 665 }; |
| 663 | 666 |
| 664 | 667 |
| 665 } } // namespace v8::internal | 668 } } // namespace v8::internal |
| 666 | 669 |
| 667 #endif // V8_FACTORY_H_ | 670 #endif // V8_FACTORY_H_ |
| OLD | NEW |