Chromium Code Reviews| Index: include/v8.h |
| diff --git a/include/v8.h b/include/v8.h |
| index 099dfb25b434c45a949d4ddf33b2e9c8913881de..1f795df82dcdc088604e3f48112a408ac632ab41 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 max_old_space_size_", |
|
ulan
2017/05/18 14:30:47
subsumed _by_
Hannes Payer (out of office)
2017/05/19 09:46:19
Done.
|
| + int max_executable_size() const) { |
| + return max_executable_size_; |
| + } |
| + V8_DEPRECATE_SOON("max_executable_size_ is subsumed max_old_space_size_", |
|
ulan
2017/05/18 14:30:47
ditto
Hannes Payer (out of office)
2017/05/19 09:46:18
Done.
|
| + void set_max_executable_size(int limit_in_mb)) { |
| max_executable_size_ = limit_in_mb; |
| } |
| uint32_t* stack_limit() const { return stack_limit_; } |