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 /** \mainpage V8 API Reference Guide | 5 /** \mainpage V8 API Reference Guide |
6 * | 6 * |
7 * V8 is Google's open source JavaScript engine. | 7 * V8 is Google's open source JavaScript engine. |
8 * | 8 * |
9 * This set of documents provides reference material generated from the | 9 * This set of documents provides reference material generated from the |
10 * V8 header file, include/v8.h. | 10 * V8 header file, include/v8.h. |
(...skipping 4895 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4906 * limit separately for each thread. | 4906 * limit separately for each thread. |
4907 */ | 4907 */ |
4908 void SetStackLimit(uintptr_t stack_limit); | 4908 void SetStackLimit(uintptr_t stack_limit); |
4909 | 4909 |
4910 /** | 4910 /** |
4911 * Returns a memory range that can potentially contain jitted code. | 4911 * Returns a memory range that can potentially contain jitted code. |
4912 * | 4912 * |
4913 * On Win64, embedders are advised to install function table callbacks for | 4913 * On Win64, embedders are advised to install function table callbacks for |
4914 * these ranges, as default SEH won't be able to unwind through jitted code. | 4914 * these ranges, as default SEH won't be able to unwind through jitted code. |
4915 * | 4915 * |
| 4916 * The first page of the code range is reserved for the embedder and is |
| 4917 * committed, writable, and executable. |
| 4918 * |
4916 * Might be empty on other platforms. | 4919 * Might be empty on other platforms. |
4917 * | 4920 * |
4918 * https://code.google.com/p/v8/issues/detail?id=3598 | 4921 * https://code.google.com/p/v8/issues/detail?id=3598 |
4919 */ | 4922 */ |
4920 void GetCodeRange(void** start, size_t* length_in_bytes); | 4923 void GetCodeRange(void** start, size_t* length_in_bytes); |
4921 | 4924 |
4922 private: | 4925 private: |
4923 template<class K, class V, class Traits> friend class PersistentValueMap; | 4926 template<class K, class V, class Traits> friend class PersistentValueMap; |
4924 | 4927 |
4925 Isolate(); | 4928 Isolate(); |
(...skipping 2107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7033 */ | 7036 */ |
7034 | 7037 |
7035 | 7038 |
7036 } // namespace v8 | 7039 } // namespace v8 |
7037 | 7040 |
7038 | 7041 |
7039 #undef TYPE_CHECK | 7042 #undef TYPE_CHECK |
7040 | 7043 |
7041 | 7044 |
7042 #endif // V8_H_ | 7045 #endif // V8_H_ |
OLD | NEW |