| OLD | NEW |
| 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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 43 Handle<FixedArrayBase> NewFixedDoubleArrayWithHoles( | 43 Handle<FixedArrayBase> NewFixedDoubleArrayWithHoles( |
| 44 int size, | 44 int size, |
| 45 PretenureFlag pretenure = NOT_TENURED); | 45 PretenureFlag pretenure = NOT_TENURED); |
| 46 | 46 |
| 47 Handle<ConstantPoolArray> NewConstantPoolArray( | 47 Handle<ConstantPoolArray> NewConstantPoolArray( |
| 48 int number_of_int64_entries, | 48 int number_of_int64_entries, |
| 49 int number_of_code_ptr_entries, | 49 int number_of_code_ptr_entries, |
| 50 int number_of_heap_ptr_entries, | 50 int number_of_heap_ptr_entries, |
| 51 int number_of_int32_entries); | 51 int number_of_int32_entries); |
| 52 | 52 |
| 53 Handle<ConstantPoolArray> NewExtendedConstantPoolArray( |
| 54 int small_section_int64_entries, |
| 55 int small_section_code_ptr_entries, |
| 56 int small_section_heap_ptr_entries, |
| 57 int small_section_int32_entries, |
| 58 int extended_section_int64_entries, |
| 59 int extended_section_code_ptr_entries, |
| 60 int extended_section_heap_ptr_entries, |
| 61 int extended_section_int32_entries); |
| 62 |
| 53 Handle<OrderedHashSet> NewOrderedHashSet(); | 63 Handle<OrderedHashSet> NewOrderedHashSet(); |
| 54 Handle<OrderedHashMap> NewOrderedHashMap(); | 64 Handle<OrderedHashMap> NewOrderedHashMap(); |
| 55 | 65 |
| 56 // Create a new boxed value. | 66 // Create a new boxed value. |
| 57 Handle<Box> NewBox(Handle<Object> value); | 67 Handle<Box> NewBox(Handle<Object> value); |
| 58 | 68 |
| 59 // Create a pre-tenured empty AccessorPair. | 69 // Create a pre-tenured empty AccessorPair. |
| 60 Handle<AccessorPair> NewAccessorPair(); | 70 Handle<AccessorPair> NewAccessorPair(); |
| 61 | 71 |
| 62 // Create an empty TypeFeedbackInfo. | 72 // Create an empty TypeFeedbackInfo. |
| (...skipping 631 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 694 PretenureFlag pretenure = TENURED); | 704 PretenureFlag pretenure = TENURED); |
| 695 | 705 |
| 696 Handle<JSFunction> NewFunction(Handle<Map> map, | 706 Handle<JSFunction> NewFunction(Handle<Map> map, |
| 697 Handle<String> name, | 707 Handle<String> name, |
| 698 MaybeHandle<Code> maybe_code); | 708 MaybeHandle<Code> maybe_code); |
| 699 }; | 709 }; |
| 700 | 710 |
| 701 } } // namespace v8::internal | 711 } } // namespace v8::internal |
| 702 | 712 |
| 703 #endif // V8_FACTORY_H_ | 713 #endif // V8_FACTORY_H_ |
| OLD | NEW |