Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(54)

Unified Diff: src/api.cc

Issue 310393003: Move most of the implementation of AdjustAmountOfExternalMemory to v8.h (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/api.cc
diff --git a/src/api.cc b/src/api.cc
index 9f8103c5c5a92b243c42901287698fd57a239110..72df170955c1dc590ee1ebab1b6d7ac01721ff59 100644
--- a/src/api.cc
+++ b/src/api.cc
@@ -6321,7 +6321,7 @@ void V8::SetFailedAccessCheckCallbackFunction(
}
-int64_t Isolate::AdjustAmountOfExternalAllocatedMemory(
+int64_t Isolate::SlowAdjustAmountOfExternalAllocatedMemory(
int64_t change_in_bytes) {
i::Heap* heap = reinterpret_cast<i::Isolate*>(this)->heap();
return heap->AdjustAmountOfExternalAllocatedMemory(change_in_bytes);

Powered by Google App Engine
This is Rietveld 408576698