| Index: include/v8.h
|
| diff --git a/include/v8.h b/include/v8.h
|
| index 099dfb25b434c45a949d4ddf33b2e9c8913881de..3ed2a4140c7c675ad1affed8d4534727f0288865 100644
|
| --- a/include/v8.h
|
| +++ b/include/v8.h
|
| @@ -5905,8 +5905,12 @@ class V8_EXPORT ResourceConstraints {
|
| void set_max_old_space_size(int limit_in_mb) {
|
| max_old_space_size_ = limit_in_mb;
|
| }
|
| - int max_executable_size() const { return max_executable_size_; }
|
| - void set_max_executable_size(int limit_in_mb) {
|
| + V8_DEPRECATE_SOON("max_executable_size_ is subsumed by max_old_space_size_",
|
| + int max_executable_size() const) {
|
| + return max_executable_size_;
|
| + }
|
| + V8_DEPRECATE_SOON("max_executable_size_ is subsumed by max_old_space_size_",
|
| + void set_max_executable_size(int limit_in_mb)) {
|
| max_executable_size_ = limit_in_mb;
|
| }
|
| uint32_t* stack_limit() const { return stack_limit_; }
|
|
|