Index: src/api.cc |
diff --git a/src/api.cc b/src/api.cc |
index 736f0b00d7ac833ca3409ebd703a90f8ef49a5bc..ef9eec38e20bfe1d75c9f96e885ea665be3a760c 100644 |
--- a/src/api.cc |
+++ b/src/api.cc |
@@ -6386,14 +6386,14 @@ void V8::SetFailedAccessCheckCallbackFunction( |
} |
-intptr_t Isolate::AdjustAmountOfExternalAllocatedMemory( |
- intptr_t change_in_bytes) { |
+int64_t Isolate::AdjustAmountOfExternalAllocatedMemory( |
+ int64_t change_in_bytes) { |
i::Heap* heap = reinterpret_cast<i::Isolate*>(this)->heap(); |
return heap->AdjustAmountOfExternalAllocatedMemory(change_in_bytes); |
} |
-intptr_t V8::AdjustAmountOfExternalAllocatedMemory(intptr_t change_in_bytes) { |
+int64_t V8::AdjustAmountOfExternalAllocatedMemory(int64_t change_in_bytes) { |
i::Isolate* isolate = i::Isolate::UncheckedCurrent(); |
if (isolate == NULL || !isolate->IsInitialized()) { |
return 0; |