From 5035d10c854f4a0a11afb1bd5b2e197df6bc3348 Mon Sep 17 00:00:00 2001 From: Aliaksei Kandratsenka Date: Mon, 30 Sep 2024 11:40:48 -0400 Subject: [PATCH] drop unused kStripFrames constant --- src/heap-profile-table.cc | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/src/heap-profile-table.cc b/src/heap-profile-table.cc index 0efdf57..3cbc103 100644 --- a/src/heap-profile-table.cc +++ b/src/heap-profile-table.cc @@ -89,17 +89,7 @@ const char HeapProfileTable::kFileExt[] = ".heap"; //---------------------------------------------------------------------- -static const int kHashTableSize = 179999; // Size for bucket_table_. - -//---------------------------------------------------------------------- - -// We strip out different number of stack frames in debug mode -// because less inlining happens in that case -#ifdef NDEBUG -static const int kStripFrames = 2; -#else -static const int kStripFrames = 3; -#endif +static constexpr int kHashTableSize = 179999; // Size for bucket_table_. //----------------------------------------------------------------------