From 989f31e648ef62c8f24015ec0e614dc641b44cbc Mon Sep 17 00:00:00 2001 From: Sergio Martins Date: Mon, 15 Apr 2013 15:40:16 +0100 Subject: [V8] Fix QNX build due to new CPU profiling methods Upstream commit 99a5e7642cc46d72a61693d2d6ffae2108642789 added new methods. This commit adds them to platform-qnx. Most platforms don't implement them yet. Neither does QNX. Change-Id: Ifc9f9f950c9c4b068241eeeeea6b25ce715ed328 Reviewed-by: Nicolas Arnaud-Cormos Reviewed-by: Sean Harmer Reviewed-by: Peter Varga --- src/3rdparty/v8/src/platform-qnx.cc | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/src/3rdparty/v8/src/platform-qnx.cc b/src/3rdparty/v8/src/platform-qnx.cc index ae17c6c..8b10a7d 100644 --- a/src/3rdparty/v8/src/platform-qnx.cc +++ b/src/3rdparty/v8/src/platform-qnx.cc @@ -1104,4 +1104,21 @@ void Sampler::Stop() { } +bool Sampler::CanSampleOnProfilerEventsProcessorThread() { + return false; +} + + +void Sampler::DoSample() { +} + + +void Sampler::StartProfiling() { +} + + +void Sampler::StopProfiling() { +} + + } } // namespace v8::internal -- cgit v1.2.3