Index: src/profile-generator.cc |
diff --git a/src/profile-generator.cc b/src/profile-generator.cc |
index 426d74ee96985f46d86a7243cc8c07ba26d1d161..7461462ccb5cfe8edd3e1d4d88348dad176d5d4b 100644 |
--- a/src/profile-generator.cc |
+++ b/src/profile-generator.cc |
@@ -296,7 +296,12 @@ class DeleteNodesCallback { |
ProfileTree::ProfileTree() |
- : root_entry_(Logger::FUNCTION_TAG, "", "(root)"), |
+ : root_entry_(Logger::FUNCTION_TAG, |
+ "", |
+ "(root)", |
+ "", |
+ 0, |
+ TokenEnumerator::kNoSecurityToken), |
next_node_id_(1), |
root_(new ProfileNode(this, &root_entry_)) { |
} |
@@ -792,9 +797,9 @@ CodeEntry* CpuProfilesCollection::NewCodeEntry(Logger::LogEventsAndTags tag, |
CodeEntry* entry = new CodeEntry(tag, |
CodeEntry::kEmptyNamePrefix, |
GetFunctionName(name), |
- TokenEnumerator::kNoSecurityToken, |
GetName(resource_name), |
- line_number); |
+ line_number, |
+ TokenEnumerator::kNoSecurityToken); |
code_entries_.Add(entry); |
return entry; |
} |
@@ -804,7 +809,10 @@ CodeEntry* CpuProfilesCollection::NewCodeEntry(Logger::LogEventsAndTags tag, |
const char* name) { |
CodeEntry* entry = new CodeEntry(tag, |
CodeEntry::kEmptyNamePrefix, |
- GetFunctionName(name)); |
+ GetFunctionName(name), |
+ "", |
+ v8::CpuProfileNode::kNoLineNumberInfo, |
+ TokenEnumerator::kNoSecurityToken); |
code_entries_.Add(entry); |
return entry; |
} |
@@ -816,6 +824,8 @@ CodeEntry* CpuProfilesCollection::NewCodeEntry(Logger::LogEventsAndTags tag, |
CodeEntry* entry = new CodeEntry(tag, |
name_prefix, |
GetName(name), |
+ "", |
+ v8::CpuProfileNode::kNoLineNumberInfo, |
TokenEnumerator::kInheritsSecurityToken); |
code_entries_.Add(entry); |
return entry; |
@@ -827,6 +837,8 @@ CodeEntry* CpuProfilesCollection::NewCodeEntry(Logger::LogEventsAndTags tag, |
CodeEntry* entry = new CodeEntry(tag, |
"args_count: ", |
GetName(args_count), |
+ "", |
+ v8::CpuProfileNode::kNoLineNumberInfo, |
TokenEnumerator::kInheritsSecurityToken); |
code_entries_.Add(entry); |
return entry; |