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/feedback-vector.h" | 8 #include "src/feedback-vector.h" |
9 #include "src/globals.h" | 9 #include "src/globals.h" |
10 #include "src/isolate.h" | 10 #include "src/isolate.h" |
11 #include "src/messages.h" | 11 #include "src/messages.h" |
12 #include "src/objects/descriptor-array.h" | 12 #include "src/objects/descriptor-array.h" |
13 #include "src/objects/dictionary.h" | 13 #include "src/objects/dictionary.h" |
14 #include "src/objects/scope-info.h" | 14 #include "src/objects/scope-info.h" |
15 #include "src/string-hasher.h" | 15 #include "src/string-hasher.h" |
16 | 16 |
17 namespace v8 { | 17 namespace v8 { |
18 namespace internal { | 18 namespace internal { |
19 | 19 |
| 20 class BreakPointInfo; |
20 class BoilerplateDescription; | 21 class BoilerplateDescription; |
21 class ConstantElementsPair; | 22 class ConstantElementsPair; |
| 23 class DebugInfo; |
22 | 24 |
23 enum FunctionMode { | 25 enum FunctionMode { |
24 // With prototype. | 26 // With prototype. |
25 FUNCTION_WITH_WRITEABLE_PROTOTYPE, | 27 FUNCTION_WITH_WRITEABLE_PROTOTYPE, |
26 FUNCTION_WITH_READONLY_PROTOTYPE, | 28 FUNCTION_WITH_READONLY_PROTOTYPE, |
27 // Without prototype. | 29 // Without prototype. |
28 FUNCTION_WITHOUT_PROTOTYPE | 30 FUNCTION_WITHOUT_PROTOTYPE |
29 }; | 31 }; |
30 | 32 |
31 // Interface for handle based allocation. | 33 // Interface for handle based allocation. |
(...skipping 811 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
843 void SetStrictFunctionInstanceDescriptor(Handle<Map> map, | 845 void SetStrictFunctionInstanceDescriptor(Handle<Map> map, |
844 FunctionMode function_mode); | 846 FunctionMode function_mode); |
845 | 847 |
846 void SetClassFunctionInstanceDescriptor(Handle<Map> map); | 848 void SetClassFunctionInstanceDescriptor(Handle<Map> map); |
847 }; | 849 }; |
848 | 850 |
849 } // namespace internal | 851 } // namespace internal |
850 } // namespace v8 | 852 } // namespace v8 |
851 | 853 |
852 #endif // V8_FACTORY_H_ | 854 #endif // V8_FACTORY_H_ |
OLD | NEW |