| Index: test/cctest/libsampler/test-sampler.cc
|
| diff --git a/test/cctest/libsampler/test-sampler.cc b/test/cctest/libsampler/test-sampler.cc
|
| index 745b139b30131f114bd1a5f92003272dc85ee952..e9f17498852b7f76a1fba8112fd5fee135978ae5 100644
|
| --- a/test/cctest/libsampler/test-sampler.cc
|
| +++ b/test/cctest/libsampler/test-sampler.cc
|
| @@ -41,10 +41,9 @@ class TestSampler : public Sampler {
|
| explicit TestSampler(Isolate* isolate) : Sampler(isolate) {}
|
|
|
| void SampleStack(const v8::RegisterState& regs) override {
|
| - void* frames[Sampler::kMaxFramesCount];
|
| + void* frames[kMaxFramesCount];
|
| SampleInfo sample_info;
|
| - isolate()->GetStackSample(regs, reinterpret_cast<void**>(frames),
|
| - Sampler::kMaxFramesCount, &sample_info);
|
| + isolate()->GetStackSample(regs, frames, kMaxFramesCount, &sample_info);
|
| if (is_counting_samples_) {
|
| if (sample_info.vm_state == JS) ++js_sample_count_;
|
| if (sample_info.vm_state == EXTERNAL) ++external_sample_count_;
|
|
|