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

Unified Diff: src/list.h

Issue 2366283003: Remove runtime zone. (Closed)
Patch Set: Reaction to comments Created 4 years, 2 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/list.h
diff --git a/src/list.h b/src/list.h
index 83e5f4594ee5ae0bbdd0ac8d9f7337701c58a0c3..049286572b2036ee9c1128f8359bd571e7c537bc 100644
--- a/src/list.h
+++ b/src/list.h
@@ -129,7 +129,8 @@ class List {
INLINE(void Allocate(int length,
AllocationPolicy allocator = AllocationPolicy()));
- // Clears the list by setting the length to zero. Even if T is a
+ // Clears the list by freeing the storage memory. If you want to keep the
+ // memory, use Rewind(0) instead. Be aware, that even if T is a
// pointer type, clearing the list doesn't delete the entries.
INLINE(void Clear());
« no previous file with comments | « src/isolate.cc ('k') | src/runtime/runtime-regexp.cc » ('j') | src/runtime/runtime-regexp.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698