Chromium Code Reviews| Index: test/cctest/test-cpu-profiler.cc |
| diff --git a/test/cctest/test-cpu-profiler.cc b/test/cctest/test-cpu-profiler.cc |
| index 6f895aeb7919b33e353826b72ab388b0b024fba0..ac5fe86b60677f5fc12c4c78bac9a6c3390abdbb 100644 |
| --- a/test/cctest/test-cpu-profiler.cc |
| +++ b/test/cctest/test-cpu-profiler.cc |
| @@ -64,7 +64,6 @@ static void EnqueueTickSampleEvent(ProfilerEventsProcessor* proc, |
| i::Address frame3 = NULL) { |
| i::TickSample* sample = proc->TickSampleEvent(); |
| sample->pc = frame1; |
| - sample->tos = frame1; |
|
loislo
2013/04/12 10:49:26
is external_callback initialized properly?
yurys
2013/04/12 10:54:50
Yes, ProfilerEventsProcessor::TickSampleEvent call
|
| sample->frames_count = 0; |
| if (frame2 != NULL) { |
| sample->stack[0] = frame2; |
| @@ -239,7 +238,6 @@ TEST(Issue1398) { |
| i::TickSample* sample = processor.TickSampleEvent(); |
| sample->pc = ToAddress(0x1200); |
| - sample->tos = 0; |
| sample->frames_count = i::TickSample::kMaxFramesCount; |
| for (int i = 0; i < sample->frames_count; ++i) { |
| sample->stack[i] = ToAddress(0x1200); |