| Index: src/log.cc
 | 
| diff --git a/src/log.cc b/src/log.cc
 | 
| index 3e7677edf1955400cae41889f69e06544b8e7301..5201e9af0f2e88c7d0ff8aa46fdfd54129ae4354 100644
 | 
| --- a/src/log.cc
 | 
| +++ b/src/log.cc
 | 
| @@ -651,18 +651,9 @@ class Ticker: public sampler::Sampler {
 | 
|                                          const_cast<v8::RegisterState*>(&state)))
 | 
|        return;
 | 
|  #endif
 | 
| -    TickSample* sample = isolate->cpu_profiler()->StartTickSample();
 | 
| -    TickSample sample_obj;
 | 
| -    if (sample == NULL) sample = &sample_obj;
 | 
| -    sample->Init(isolate, state, TickSample::kIncludeCEntryFrame, true);
 | 
| -    if (is_counting_samples_ && !sample->timestamp.IsNull()) {
 | 
| -      if (sample->state == JS) ++js_sample_count_;
 | 
| -      if (sample->state == EXTERNAL) ++external_sample_count_;
 | 
| -    }
 | 
| -    if (profiler_) profiler_->Insert(sample);
 | 
| -    if (sample != &sample_obj) {
 | 
| -      isolate->cpu_profiler()->FinishTickSample();
 | 
| -    }
 | 
| +    TickSample sample;
 | 
| +    sample.Init(isolate, state, TickSample::kIncludeCEntryFrame, true);
 | 
| +    if (profiler_) profiler_->Insert(&sample);
 | 
|    }
 | 
|  
 | 
|   private:
 | 
| 
 |