| Index: test/cctest/test-cpu-profiler.cc
|
| ===================================================================
|
| --- test/cctest/test-cpu-profiler.cc (revision 8618)
|
| +++ test/cctest/test-cpu-profiler.cc (working copy)
|
| @@ -24,7 +24,7 @@
|
| TEST(StartStop) {
|
| CpuProfilesCollection profiles;
|
| ProfileGenerator generator(&profiles);
|
| - ProfilerEventsProcessor processor(i::Isolate::Current(), &generator);
|
| + ProfilerEventsProcessor processor(&generator);
|
| processor.Start();
|
| processor.Stop();
|
| processor.Join();
|
| @@ -85,7 +85,7 @@
|
| CpuProfilesCollection profiles;
|
| profiles.StartProfiling("", 1);
|
| ProfileGenerator generator(&profiles);
|
| - ProfilerEventsProcessor processor(i::Isolate::Current(), &generator);
|
| + ProfilerEventsProcessor processor(&generator);
|
| processor.Start();
|
|
|
| // Enqueue code creation events.
|
| @@ -146,7 +146,7 @@
|
| CpuProfilesCollection profiles;
|
| profiles.StartProfiling("", 1);
|
| ProfileGenerator generator(&profiles);
|
| - ProfilerEventsProcessor processor(i::Isolate::Current(), &generator);
|
| + ProfilerEventsProcessor processor(&generator);
|
| processor.Start();
|
|
|
| processor.CodeCreateEvent(i::Logger::BUILTIN_TAG,
|
| @@ -236,7 +236,7 @@
|
| CpuProfilesCollection profiles;
|
| profiles.StartProfiling("", 1);
|
| ProfileGenerator generator(&profiles);
|
| - ProfilerEventsProcessor processor(i::Isolate::Current(), &generator);
|
| + ProfilerEventsProcessor processor(&generator);
|
| processor.Start();
|
|
|
| processor.CodeCreateEvent(i::Logger::BUILTIN_TAG,
|
|
|