drop unused kStripFrames constant

This commit is contained in:
Aliaksei Kandratsenka 2024-09-30 11:40:48 -04:00
parent 1cfbc55fbf
commit 5035d10c85
1 changed files with 1 additions and 11 deletions

View File

@ -89,17 +89,7 @@ const char HeapProfileTable::kFileExt[] = ".heap";
//---------------------------------------------------------------------- //----------------------------------------------------------------------
static const int kHashTableSize = 179999; // Size for bucket_table_. static constexpr 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
//---------------------------------------------------------------------- //----------------------------------------------------------------------