diff options
Diffstat (limited to 'deps/v8/src/profile-generator-inl.h')
-rw-r--r-- | deps/v8/src/profile-generator-inl.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/deps/v8/src/profile-generator-inl.h b/deps/v8/src/profile-generator-inl.h index cdfa9e2d71..cef825da8a 100644 --- a/deps/v8/src/profile-generator-inl.h +++ b/deps/v8/src/profile-generator-inl.h @@ -46,7 +46,8 @@ const char* StringsStorage::GetFunctionName(const char* name) { CodeEntry::CodeEntry(int security_token_id) - : tag_(Logger::FUNCTION_TAG), + : call_uid_(0), + tag_(Logger::FUNCTION_TAG), name_prefix_(kEmptyNamePrefix), name_(""), resource_name_(""), @@ -61,7 +62,8 @@ CodeEntry::CodeEntry(Logger::LogEventsAndTags tag, const char* resource_name, int line_number, int security_token_id) - : tag_(tag), + : call_uid_(next_call_uid_++), + tag_(tag), name_prefix_(name_prefix), name_(name), resource_name_(resource_name), |