| 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 "src/isolate.h" | 8 #include "src/isolate.h" |
| 9 #include "src/messages.h" | 9 #include "src/messages.h" |
| 10 #include "src/type-feedback-vector.h" | 10 #include "src/type-feedback-vector.h" |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 45 // so the return type must be the general fixed array class. | 45 // so the return type must be the general fixed array class. |
| 46 Handle<FixedArrayBase> NewFixedDoubleArray( | 46 Handle<FixedArrayBase> NewFixedDoubleArray( |
| 47 int size, | 47 int size, |
| 48 PretenureFlag pretenure = NOT_TENURED); | 48 PretenureFlag pretenure = NOT_TENURED); |
| 49 | 49 |
| 50 // Allocate a new fixed double array with hole values. | 50 // Allocate a new fixed double array with hole values. |
| 51 Handle<FixedArrayBase> NewFixedDoubleArrayWithHoles( | 51 Handle<FixedArrayBase> NewFixedDoubleArrayWithHoles( |
| 52 int size, | 52 int size, |
| 53 PretenureFlag pretenure = NOT_TENURED); | 53 PretenureFlag pretenure = NOT_TENURED); |
| 54 | 54 |
| 55 Handle<FrameArray> NewFrameArray(int number_of_frames, |
| 56 PretenureFlag pretenure = NOT_TENURED); |
| 57 |
| 55 Handle<OrderedHashSet> NewOrderedHashSet(); | 58 Handle<OrderedHashSet> NewOrderedHashSet(); |
| 56 Handle<OrderedHashMap> NewOrderedHashMap(); | 59 Handle<OrderedHashMap> NewOrderedHashMap(); |
| 57 | 60 |
| 58 // Create a new boxed value. | 61 // Create a new boxed value. |
| 59 Handle<Box> NewBox(Handle<Object> value); | 62 Handle<Box> NewBox(Handle<Object> value); |
| 60 | 63 |
| 61 // Create a new PrototypeInfo struct. | 64 // Create a new PrototypeInfo struct. |
| 62 Handle<PrototypeInfo> NewPrototypeInfo(); | 65 Handle<PrototypeInfo> NewPrototypeInfo(); |
| 63 | 66 |
| 64 // Create a new SloppyBlockWithEvalContextExtension struct. | 67 // Create a new SloppyBlockWithEvalContextExtension struct. |
| (...skipping 685 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 750 FunctionMode function_mode); | 753 FunctionMode function_mode); |
| 751 | 754 |
| 752 void SetStrictFunctionInstanceDescriptor(Handle<Map> map, | 755 void SetStrictFunctionInstanceDescriptor(Handle<Map> map, |
| 753 FunctionMode function_mode); | 756 FunctionMode function_mode); |
| 754 }; | 757 }; |
| 755 | 758 |
| 756 } // namespace internal | 759 } // namespace internal |
| 757 } // namespace v8 | 760 } // namespace v8 |
| 758 | 761 |
| 759 #endif // V8_FACTORY_H_ | 762 #endif // V8_FACTORY_H_ |
| OLD | NEW |