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

Side by Side Diff: include/v8.h

Issue 62193003: Remove deprecated v8::SetResourceConstraints without Isolate parameter (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 1 month 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 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 3813 matching lines...) Expand 10 before | Expand all | Expand 10 after
3824 void set_stack_limit(uint32_t* value) { stack_limit_ = value; } 3824 void set_stack_limit(uint32_t* value) { stack_limit_ = value; }
3825 3825
3826 private: 3826 private:
3827 int max_young_space_size_; 3827 int max_young_space_size_;
3828 int max_old_space_size_; 3828 int max_old_space_size_;
3829 int max_executable_size_; 3829 int max_executable_size_;
3830 uint32_t* stack_limit_; 3830 uint32_t* stack_limit_;
3831 }; 3831 };
3832 3832
3833 3833
3834 V8_DEPRECATED(
3835 "Use SetResourceConstraints(isolate, constraints) instead",
3836 bool V8_EXPORT SetResourceConstraints(ResourceConstraints* constraints));
3837
3838
3839 /** 3834 /**
3840 * Sets the given ResourceConstraints on the given Isolate. 3835 * Sets the given ResourceConstraints on the given Isolate.
3841 */ 3836 */
3842 bool V8_EXPORT SetResourceConstraints(Isolate* isolate, 3837 bool V8_EXPORT SetResourceConstraints(Isolate* isolate,
3843 ResourceConstraints* constraints); 3838 ResourceConstraints* constraints);
3844 3839
3845 3840
3846 // --- Exceptions --- 3841 // --- Exceptions ---
3847 3842
3848 3843
(...skipping 2690 matching lines...) Expand 10 before | Expand all | Expand 10 after
6539 */ 6534 */
6540 6535
6541 6536
6542 } // namespace v8 6537 } // namespace v8
6543 6538
6544 6539
6545 #undef TYPE_CHECK 6540 #undef TYPE_CHECK
6546 6541
6547 6542
6548 #endif // V8_H_ 6543 #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