| Index: src/profiler/tick-sample.h
|
| diff --git a/src/profiler/tick-sample.h b/src/profiler/tick-sample.h
|
| index 0a651aff10c5c36b2665810f68d0f12d7c9b9335..fa2cf212782c743a950392ea1d8b4a671d1199eb 100644
|
| --- a/src/profiler/tick-sample.h
|
| +++ b/src/profiler/tick-sample.h
|
| @@ -36,10 +36,11 @@
|
| external_callback_entry(NULL),
|
| frames_count(0),
|
| has_external_callback(false),
|
| - update_stats(true) {}
|
| + update_stats(true),
|
| + top_frame_type(StackFrame::NONE) {}
|
| void Init(Isolate* isolate, const v8::RegisterState& state,
|
| RecordCEntryFrame record_c_entry_frame, bool update_stats);
|
| - static bool GetStackSample(Isolate* isolate, const v8::RegisterState& state,
|
| + static void GetStackSample(Isolate* isolate, const v8::RegisterState& state,
|
| RecordCEntryFrame record_c_entry_frame,
|
| void** frames, size_t frames_limit,
|
| v8::SampleInfo* sample_info);
|
| @@ -56,6 +57,7 @@
|
| unsigned frames_count : kMaxFramesCountLog2; // Number of captured frames.
|
| bool has_external_callback : 1;
|
| bool update_stats : 1; // Whether the sample should update aggregated stats.
|
| + StackFrame::Type top_frame_type : 5;
|
| };
|
|
|
|
|
|
|