summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorRussell Brenner <russellbrenner@google.com>2010-11-18 13:33:46 -0800
committerRussell Brenner <russellbrenner@google.com>2010-11-19 09:50:30 -0800
commit90bac256d9f48d4ee52d0e08bf0e5cad57b3c51c (patch)
tree34cbd1563f2fe283e628dba6a333b1b13f68892a /include
parent3e5fa29ddb82551500b118e9bf37af3966277b70 (diff)
downloadandroid_external_v8-90bac256d9f48d4ee52d0e08bf0e5cad57b3c51c.tar.gz
android_external_v8-90bac256d9f48d4ee52d0e08bf0e5cad57b3c51c.tar.bz2
android_external_v8-90bac256d9f48d4ee52d0e08bf0e5cad57b3c51c.zip
Update V8 to r5804 as required by WebKit r72274
Change-Id: I287670630b22383dbce46e4a6fad4ec9eb37d8b8
Diffstat (limited to 'include')
-rw-r--r--include/v8.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/v8.h b/include/v8.h
index 8c730df8..f6c3c8b3 100644
--- a/include/v8.h
+++ b/include/v8.h
@@ -2348,12 +2348,15 @@ class V8EXPORT ResourceConstraints {
void set_max_young_space_size(int value) { max_young_space_size_ = value; }
int max_old_space_size() const { return max_old_space_size_; }
void set_max_old_space_size(int value) { max_old_space_size_ = value; }
+ int max_executable_size() { return max_executable_size_; }
+ void set_max_executable_size(int value) { max_executable_size_ = value; }
uint32_t* stack_limit() const { return stack_limit_; }
// Sets an address beyond which the VM's stack may not grow.
void set_stack_limit(uint32_t* value) { stack_limit_ = value; }
private:
int max_young_space_size_;
int max_old_space_size_;
+ int max_executable_size_;
uint32_t* stack_limit_;
};
@@ -2485,13 +2488,18 @@ class V8EXPORT HeapStatistics {
public:
HeapStatistics();
size_t total_heap_size() { return total_heap_size_; }
+ size_t total_heap_size_executable() { return total_heap_size_executable_; }
size_t used_heap_size() { return used_heap_size_; }
private:
void set_total_heap_size(size_t size) { total_heap_size_ = size; }
+ void set_total_heap_size_executable(size_t size) {
+ total_heap_size_executable_ = size;
+ }
void set_used_heap_size(size_t size) { used_heap_size_ = size; }
size_t total_heap_size_;
+ size_t total_heap_size_executable_;
size_t used_heap_size_;
friend class V8;