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 5914 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5925 * Returns heap profiler for this isolate. Will return NULL until the isolate | 5925 * Returns heap profiler for this isolate. Will return NULL until the isolate |
5926 * is initialized. | 5926 * is initialized. |
5927 */ | 5927 */ |
5928 HeapProfiler* GetHeapProfiler(); | 5928 HeapProfiler* GetHeapProfiler(); |
5929 | 5929 |
5930 /** | 5930 /** |
5931 * Returns CPU profiler for this isolate. Will return NULL unless the isolate | 5931 * Returns CPU profiler for this isolate. Will return NULL unless the isolate |
5932 * is initialized. It is the embedder's responsibility to stop all CPU | 5932 * is initialized. It is the embedder's responsibility to stop all CPU |
5933 * profiling activities if it has started any. | 5933 * profiling activities if it has started any. |
5934 */ | 5934 */ |
5935 CpuProfiler* GetCpuProfiler(); | 5935 V8_DEPRECATE_SOON("CpuProfiler should be created with CpuProfiler::New call.", |
| 5936 CpuProfiler* GetCpuProfiler()); |
5936 | 5937 |
5937 /** Returns true if this isolate has a current context. */ | 5938 /** Returns true if this isolate has a current context. */ |
5938 bool InContext(); | 5939 bool InContext(); |
5939 | 5940 |
5940 /** | 5941 /** |
5941 * Returns the context of the currently running JavaScript, or the context | 5942 * Returns the context of the currently running JavaScript, or the context |
5942 * on the top of the stack if no JavaScript is running. | 5943 * on the top of the stack if no JavaScript is running. |
5943 */ | 5944 */ |
5944 Local<Context> GetCurrentContext(); | 5945 Local<Context> GetCurrentContext(); |
5945 | 5946 |
(...skipping 2968 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
8914 */ | 8915 */ |
8915 | 8916 |
8916 | 8917 |
8917 } // namespace v8 | 8918 } // namespace v8 |
8918 | 8919 |
8919 | 8920 |
8920 #undef TYPE_CHECK | 8921 #undef TYPE_CHECK |
8921 | 8922 |
8922 | 8923 |
8923 #endif // INCLUDE_V8_H_ | 8924 #endif // INCLUDE_V8_H_ |
OLD | NEW |