Index: include/v8.h |
diff --git a/include/v8.h b/include/v8.h |
index f0b627e7b79c16c05f5c64beedb572587889291e..fb72d6503e7545e557a1b02b0b52f49449f32cfb 100644 |
--- a/include/v8.h |
+++ b/include/v8.h |
@@ -4077,7 +4077,7 @@ class V8_EXPORT Isolate { |
* kept alive by JavaScript objects. |
* \returns the adjusted value. |
*/ |
- intptr_t AdjustAmountOfExternalAllocatedMemory(intptr_t change_in_bytes); |
+ int64_t AdjustAmountOfExternalAllocatedMemory(int64_t change_in_bytes); |
/** |
* Returns heap profiler for this isolate. Will return NULL until the isolate |
@@ -4660,8 +4660,8 @@ class V8_EXPORT V8 { |
V8_DEPRECATED( |
"Use Isolate::AdjustAmountOfExternalAllocatedMemory instead", |
- static intptr_t AdjustAmountOfExternalAllocatedMemory( |
- intptr_t change_in_bytes)); |
+ static int64_t AdjustAmountOfExternalAllocatedMemory( |
Sven Panne
2013/11/15 07:21:31
This will break 32bit embedders, so we either leav
|
+ int64_t change_in_bytes)); |
/** |
* Forcefully terminate the current thread of JavaScript execution |