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

Unified Diff: src/heap/heap.h

Issue 1699733003: [left-trimming] Avoid creating duplicate handles in builtins.cc (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: using CloseAndEscape Created 4 years, 10 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
« no previous file with comments | « src/builtins.cc ('k') | src/heap/heap.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/heap/heap.h
diff --git a/src/heap/heap.h b/src/heap/heap.h
index 3f2f3f80d07a6332da5e4b8ff5058a1f3d63a48a..301c49d76903c51c47d685b268f35dbf63e8366b 100644
--- a/src/heap/heap.h
+++ b/src/heap/heap.h
@@ -1362,6 +1362,9 @@ class Heap {
void ReportHeapStatistics(const char* title);
void ReportCodeStatistics(const char* title);
#endif
+#ifdef ENABLE_SLOW_DCHECKS
+ int CountHandlesForObject(Object* object);
+#endif
private:
class PretenuringScope;
« no previous file with comments | « src/builtins.cc ('k') | src/heap/heap.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698