| Index: src/cpu-profiler.cc
|
| diff --git a/src/cpu-profiler.cc b/src/cpu-profiler.cc
|
| index 34bebb8eca1bfe8cd220240ff297fa972d8430f4..0f80e424578668308c22773b3584606161edc9d3 100644
|
| --- a/src/cpu-profiler.cc
|
| +++ b/src/cpu-profiler.cc
|
| @@ -243,6 +243,8 @@ void CpuProfiler::CodeCreateEvent(Logger::LogEventsAndTags tag,
|
| ASSERT(Script::cast(shared->script()));
|
| Script* script = Script::cast(shared->script());
|
| rec->entry->set_script_id(script->id()->value());
|
| + rec->entry->set_bailout_reason(
|
| + GetBailoutReason(shared->DisableOptimizationReason()));
|
| }
|
| rec->size = code->ExecutableSize();
|
| rec->shared = shared->address();
|
| @@ -273,6 +275,8 @@ void CpuProfiler::CodeCreateEvent(Logger::LogEventsAndTags tag,
|
| rec->entry->set_script_id(script->id()->value());
|
| rec->size = code->ExecutableSize();
|
| rec->shared = shared->address();
|
| + rec->entry->set_bailout_reason(
|
| + GetBailoutReason(shared->DisableOptimizationReason()));
|
| processor_->Enqueue(evt_rec);
|
| }
|
|
|
|
|