| Index: src/cpu-profiler.cc
|
| diff --git a/src/cpu-profiler.cc b/src/cpu-profiler.cc
|
| index b5b69e4d66636cb87fae7f1f4a65f2165262d94a..456770b4c67c122e0db54063431ee7e22dd4eee9 100644
|
| --- a/src/cpu-profiler.cc
|
| +++ b/src/cpu-profiler.cc
|
| @@ -246,7 +246,7 @@ void CpuProfiler::CodeCreateEvent(Logger::LogEventsAndTags tag, Code* code,
|
| Script* script = Script::cast(shared->script());
|
| rec->entry->set_script_id(script->id()->value());
|
| rec->entry->set_bailout_reason(
|
| - GetBailoutReason(shared->DisableOptimizationReason()));
|
| + GetBailoutReason(shared->disable_optimization_reason()));
|
| }
|
| rec->size = code->ExecutableSize();
|
| rec->shared = shared->address();
|
| @@ -289,7 +289,7 @@ void CpuProfiler::CodeCreateEvent(Logger::LogEventsAndTags tag, Code* code,
|
| rec->size = code->ExecutableSize();
|
| rec->shared = shared->address();
|
| rec->entry->set_bailout_reason(
|
| - GetBailoutReason(shared->DisableOptimizationReason()));
|
| + GetBailoutReason(shared->disable_optimization_reason()));
|
| processor_->Enqueue(evt_rec);
|
| }
|
|
|
| @@ -324,7 +324,7 @@ void CpuProfiler::CodeDisableOptEvent(Code* code, SharedFunctionInfo* shared) {
|
| CodeEventsContainer evt_rec(CodeEventRecord::CODE_DISABLE_OPT);
|
| CodeDisableOptEventRecord* rec = &evt_rec.CodeDisableOptEventRecord_;
|
| rec->start = code->address();
|
| - rec->bailout_reason = GetBailoutReason(shared->DisableOptimizationReason());
|
| + rec->bailout_reason = GetBailoutReason(shared->disable_optimization_reason());
|
| processor_->Enqueue(evt_rec);
|
| }
|
|
|
|
|