Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(224)

Side by Side Diff: include/v8.h

Issue 612043002: Add a getter for the address and size of the code range to the pulic API (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: updates Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | src/api.cc » ('j') | src/api.cc » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 4817 matching lines...) Expand 10 before | Expand all | Expand 10 after
4828 * Modifies the stack limit for this Isolate. 4828 * Modifies the stack limit for this Isolate.
4829 * 4829 *
4830 * \param stack_limit An address beyond which the Vm's stack may not grow. 4830 * \param stack_limit An address beyond which the Vm's stack may not grow.
4831 * 4831 *
4832 * \note If you are using threads then you should hold the V8::Locker lock 4832 * \note If you are using threads then you should hold the V8::Locker lock
4833 * while setting the stack limit and you must set a non-default stack 4833 * while setting the stack limit and you must set a non-default stack
4834 * limit separately for each thread. 4834 * limit separately for each thread.
4835 */ 4835 */
4836 void SetStackLimit(uintptr_t stack_limit); 4836 void SetStackLimit(uintptr_t stack_limit);
4837 4837
4838 /**
4839 * Returns a memory range that can potentially contain jitted code.
4840 *
4841 * On Win64, embedders are advised to install function table callbacks for
4842 * these ranges, as default SEH won't be able to unwind through jitted code.
4843 *
4844 * Might be empty on other platforms.
4845 *
4846 * https://code.google.com/p/v8/issues/detail?id=3598
4847 */
4848 void GetCodeRange(void** start, size_t* length_in_bytes);
4849
4838 private: 4850 private:
4839 template<class K, class V, class Traits> friend class PersistentValueMap; 4851 template<class K, class V, class Traits> friend class PersistentValueMap;
4840 4852
4841 Isolate(); 4853 Isolate();
4842 Isolate(const Isolate&); 4854 Isolate(const Isolate&);
4843 ~Isolate(); 4855 ~Isolate();
4844 Isolate& operator=(const Isolate&); 4856 Isolate& operator=(const Isolate&);
4845 void* operator new(size_t size); 4857 void* operator new(size_t size);
4846 void operator delete(void*, size_t); 4858 void operator delete(void*, size_t);
4847 4859
(...skipping 2101 matching lines...) Expand 10 before | Expand all | Expand 10 after
6949 */ 6961 */
6950 6962
6951 6963
6952 } // namespace v8 6964 } // namespace v8
6953 6965
6954 6966
6955 #undef TYPE_CHECK 6967 #undef TYPE_CHECK
6956 6968
6957 6969
6958 #endif // V8_H_ 6970 #endif // V8_H_
OLDNEW
« no previous file with comments | « no previous file | src/api.cc » ('j') | src/api.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698