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 7057 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
7068 * and requires higher heap limit. | 7068 * and requires higher heap limit. |
7069 */ | 7069 */ |
7070 void IncreaseHeapLimitForDebugging(); | 7070 void IncreaseHeapLimitForDebugging(); |
7071 | 7071 |
7072 /** | 7072 /** |
7073 * Restores the original heap limit after IncreaseHeapLimitForDebugging(). | 7073 * Restores the original heap limit after IncreaseHeapLimitForDebugging(). |
7074 */ | 7074 */ |
7075 void RestoreOriginalHeapLimit(); | 7075 void RestoreOriginalHeapLimit(); |
7076 | 7076 |
7077 /** | 7077 /** |
7078 * Returns true iff the heap limit was increased for debugging and the | |
Hannes Payer (out of office)
2017/01/11 12:42:29
one f should be good enough
ulan
2017/01/11 13:03:19
Done.
| |
7079 * original heap limit was not restored yet. | |
7080 */ | |
7081 bool IsHeapLimitIncreasedForDebugging(); | |
7082 | |
7083 /** | |
7078 * Allows the host application to provide the address of a function that is | 7084 * Allows the host application to provide the address of a function that is |
7079 * notified each time code is added, moved or removed. | 7085 * notified each time code is added, moved or removed. |
7080 * | 7086 * |
7081 * \param options options for the JIT code event handler. | 7087 * \param options options for the JIT code event handler. |
7082 * \param event_handler the JIT code event handler, which will be invoked | 7088 * \param event_handler the JIT code event handler, which will be invoked |
7083 * each time code is added, moved or removed. | 7089 * each time code is added, moved or removed. |
7084 * \note \p event_handler won't get notified of existent code. | 7090 * \note \p event_handler won't get notified of existent code. |
7085 * \note since code removal notifications are not currently issued, the | 7091 * \note since code removal notifications are not currently issued, the |
7086 * \p event_handler may get notifications of code that overlaps earlier | 7092 * \p event_handler may get notifications of code that overlaps earlier |
7087 * code notifications. This happens when code areas are reused, and the | 7093 * code notifications. This happens when code areas are reused, and the |
(...skipping 2712 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
9800 */ | 9806 */ |
9801 | 9807 |
9802 | 9808 |
9803 } // namespace v8 | 9809 } // namespace v8 |
9804 | 9810 |
9805 | 9811 |
9806 #undef TYPE_CHECK | 9812 #undef TYPE_CHECK |
9807 | 9813 |
9808 | 9814 |
9809 #endif // INCLUDE_V8_H_ | 9815 #endif // INCLUDE_V8_H_ |
OLD | NEW |