drop unused kStripFrames constant
This commit is contained in:
parent
1cfbc55fbf
commit
5035d10c85
|
@ -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
|
|
||||||
|
|
||||||
//----------------------------------------------------------------------
|
//----------------------------------------------------------------------
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue