OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 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_API_H_ | 5 #ifndef V8_API_H_ |
6 #define V8_API_H_ | 6 #define V8_API_H_ |
7 | 7 |
8 #include "src/v8.h" | |
9 | |
10 #include "include/v8-testing.h" | 8 #include "include/v8-testing.h" |
11 #include "src/contexts.h" | 9 #include "src/contexts.h" |
12 #include "src/factory.h" | 10 #include "src/factory.h" |
13 #include "src/isolate.h" | 11 #include "src/isolate.h" |
14 #include "src/list-inl.h" | 12 #include "src/list-inl.h" |
| 13 #include "src/objects-inl.h" |
15 | 14 |
16 namespace v8 { | 15 namespace v8 { |
17 | 16 |
18 // Constants used in the implementation of the API. The most natural thing | 17 // Constants used in the implementation of the API. The most natural thing |
19 // would usually be to place these with the classes that use them, but | 18 // would usually be to place these with the classes that use them, but |
20 // we want to keep them out of v8.h because it is an externally | 19 // we want to keep them out of v8.h because it is an externally |
21 // visible file. | 20 // visible file. |
22 class Consts { | 21 class Consts { |
23 public: | 22 public: |
24 enum TemplateType { | 23 enum TemplateType { |
(...skipping 614 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
639 stress_type_ = stress_type; | 638 stress_type_ = stress_type; |
640 } | 639 } |
641 | 640 |
642 private: | 641 private: |
643 static v8::Testing::StressType stress_type_; | 642 static v8::Testing::StressType stress_type_; |
644 }; | 643 }; |
645 | 644 |
646 } } // namespace v8::internal | 645 } } // namespace v8::internal |
647 | 646 |
648 #endif // V8_API_H_ | 647 #endif // V8_API_H_ |
OLD | NEW |