| Index: src/profiler/profile-generator-inl.h
|
| diff --git a/src/profiler/profile-generator-inl.h b/src/profiler/profile-generator-inl.h
|
| index 5a7017ad4907673b71402ebbb0b089ca30d40169..8e69ce4c67e96d1e5a82fcd0185935eeae2235ff 100644
|
| --- a/src/profiler/profile-generator-inl.h
|
| +++ b/src/profiler/profile-generator-inl.h
|
| @@ -27,7 +27,13 @@ CodeEntry::CodeEntry(CodeEventListener::LogEventsAndTags tag, const char* name,
|
| deopt_reason_(kNoDeoptReason),
|
| deopt_id_(kNoDeoptimizationId),
|
| line_info_(line_info),
|
| - instruction_start_(instruction_start) {}
|
| + instruction_start_(instruction_start) {
|
| +// 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(name);
|
| +#endif
|
| +}
|
|
|
| ProfileNode::ProfileNode(ProfileTree* tree, CodeEntry* entry,
|
| ProfileNode* parent)
|
|
|