Index: include/v8.h |
diff --git a/include/v8.h b/include/v8.h |
index e037ca77f4fb2fa42d08c58326fcd85253793f87..c959632f9780f8b7a5914ac5b7c8edba11305fae 100644 |
--- a/include/v8.h |
+++ b/include/v8.h |
@@ -3865,8 +3865,8 @@ class V8_EXPORT ResourceConstraints { |
void set_max_available_threads(int value) { |
max_available_threads_ = value; |
} |
- int code_range_size() const { return code_range_size_; } |
- void set_code_range_size(int value) { |
+ size_t code_range_size() const { return code_range_size_; } |
+ void set_code_range_size(size_t value) { |
code_range_size_ = value; |
} |
@@ -3876,7 +3876,7 @@ class V8_EXPORT ResourceConstraints { |
int max_executable_size_; |
uint32_t* stack_limit_; |
int max_available_threads_; |
- int code_range_size_; |
+ size_t code_range_size_; |
}; |