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

Side by Side Diff: include/v8.h

Issue 331823002: Reland "Rename kIs64BitArch with kRequiresCodeRange." (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Only assert requested <= kMaximalCodeRangeSize when the port requires code range" Created 6 years, 6 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') | no next file with comments »
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 3847 matching lines...) Expand 10 before | Expand all | Expand 10 after
3858 int max_executable_size() const { return max_executable_size_; } 3858 int max_executable_size() const { return max_executable_size_; }
3859 void set_max_executable_size(int value) { max_executable_size_ = value; } 3859 void set_max_executable_size(int value) { max_executable_size_ = value; }
3860 uint32_t* stack_limit() const { return stack_limit_; } 3860 uint32_t* stack_limit() const { return stack_limit_; }
3861 // Sets an address beyond which the VM's stack may not grow. 3861 // Sets an address beyond which the VM's stack may not grow.
3862 void set_stack_limit(uint32_t* value) { stack_limit_ = value; } 3862 void set_stack_limit(uint32_t* value) { stack_limit_ = value; }
3863 int max_available_threads() const { return max_available_threads_; } 3863 int max_available_threads() const { return max_available_threads_; }
3864 // Set the number of threads available to V8, assuming at least 1. 3864 // Set the number of threads available to V8, assuming at least 1.
3865 void set_max_available_threads(int value) { 3865 void set_max_available_threads(int value) {
3866 max_available_threads_ = value; 3866 max_available_threads_ = value;
3867 } 3867 }
3868 int code_range_size() const { return code_range_size_; } 3868 size_t code_range_size() const { return code_range_size_; }
3869 void set_code_range_size(int value) { 3869 void set_code_range_size(size_t value) {
3870 code_range_size_ = value; 3870 code_range_size_ = value;
3871 } 3871 }
3872 3872
3873 private: 3873 private:
3874 int max_semi_space_size_; 3874 int max_semi_space_size_;
3875 int max_old_space_size_; 3875 int max_old_space_size_;
3876 int max_executable_size_; 3876 int max_executable_size_;
3877 uint32_t* stack_limit_; 3877 uint32_t* stack_limit_;
3878 int max_available_threads_; 3878 int max_available_threads_;
3879 int code_range_size_; 3879 size_t code_range_size_;
3880 }; 3880 };
3881 3881
3882 3882
3883 /** 3883 /**
3884 * Sets the given ResourceConstraints on the given Isolate. 3884 * Sets the given ResourceConstraints on the given Isolate.
3885 */ 3885 */
3886 bool V8_EXPORT SetResourceConstraints(Isolate* isolate, 3886 bool V8_EXPORT SetResourceConstraints(Isolate* isolate,
3887 ResourceConstraints* constraints); 3887 ResourceConstraints* constraints);
3888 3888
3889 3889
(...skipping 2764 matching lines...) Expand 10 before | Expand all | Expand 10 after
6654 */ 6654 */
6655 6655
6656 6656
6657 } // namespace v8 6657 } // namespace v8
6658 6658
6659 6659
6660 #undef TYPE_CHECK 6660 #undef TYPE_CHECK
6661 6661
6662 6662
6663 #endif // V8_H_ 6663 #endif // V8_H_
OLDNEW
« no previous file with comments | « no previous file | src/api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698