Index: test/cctest/test-cpu-profiler.cc |
diff --git a/test/cctest/test-cpu-profiler.cc b/test/cctest/test-cpu-profiler.cc |
index 6133cdb2ffe77d7bf7e5995487d256cd738caf64..f587fc8a17baf3588cac6dd9b7d90afd68acdf31 100644 |
--- a/test/cctest/test-cpu-profiler.cc |
+++ b/test/cctest/test-cpu-profiler.cc |
@@ -114,7 +114,8 @@ TEST(CodeEvents) { |
processor.CodeMoveEvent(ToAddress(0x1400), ToAddress(0x1500)); |
processor.CodeCreateEvent(i::Logger::STUB_TAG, 3, ToAddress(0x1600), 0x10); |
processor.CodeDeleteEvent(ToAddress(0x1600)); |
- processor.FunctionCreateEvent(ToAddress(0x1700), ToAddress(0x1000)); |
+ processor.FunctionCreateEvent(ToAddress(0x1700), ToAddress(0x1000), |
+ CodeEntry::kNoSecurityToken); |
// Enqueue a tick event to enable code events processing. |
EnqueueTickSampleEvent(&processor, ToAddress(0x1000)); |
@@ -176,7 +177,8 @@ TEST(TickEvents) { |
processor.Stop(); |
processor.Join(); |
- CpuProfile* profile = profiles.StopProfiling("", 1); |
+ CpuProfile* profile = |
+ profiles.StopProfiling(CodeEntry::kNoSecurityToken, "", 1); |
CHECK_NE(NULL, profile); |
// Check call trees. |