| Index: src/profiler/profile-generator.cc
|
| diff --git a/src/profiler/profile-generator.cc b/src/profiler/profile-generator.cc
|
| index 72e02b360b2cc1f1bb7f1300ad82bfc824f1093c..b3af769f4b10cc5a59ff9044300e54943bf961d9 100644
|
| --- a/src/profiler/profile-generator.cc
|
| +++ b/src/profiler/profile-generator.cc
|
| @@ -424,6 +424,11 @@ namespace {
|
| void BuildNodeValue(const ProfileNode* node, TracedValue* value) {
|
| const CodeEntry* entry = node->entry();
|
| value->BeginDictionary("callFrame");
|
| +// TODO(alph): Extra check to help catch crbug.com/665398
|
| +// Remove before 5.8 branch
|
| +#if V8_MAJOR_VERSION == 5 && V8_MINOR_VERSION == 7
|
| + CHECK(entry->name());
|
| +#endif
|
| value->SetString("functionName", entry->name());
|
| if (*entry->resource_name()) {
|
| value->SetString("url", entry->resource_name());
|
|
|