Remove legacy JSC profiler

Reviewed By: bnham

Differential Revision: D5433406

fbshipit-source-id: 8cbea8b9b46a0d9f29c57a5bcf605e6bb61ed8a7
This commit is contained in:
Pieter De Baets
2017-07-20 04:04:37 -07:00
committed by Facebook Github Bot
parent bf752014a9
commit ed3c018ee4
33 changed files with 0 additions and 1833 deletions
-17
View File
@@ -184,23 +184,6 @@ void* NativeToJsBridge::getJavaScriptContext() {
return m_executor->getJavaScriptContext();
}
bool NativeToJsBridge::supportsProfiling() {
// Intentionally doesn't post to jsqueue. supportsProfiling() can be called from any thread.
return m_executor->supportsProfiling();
}
void NativeToJsBridge::startProfiler(const std::string& title) {
runOnExecutorQueue([=] (JSExecutor* executor) {
executor->startProfiler(title);
});
}
void NativeToJsBridge::stopProfiler(const std::string& title, const std::string& filename) {
runOnExecutorQueue([=] (JSExecutor* executor) {
executor->stopProfiler(title, filename);
});
}
#ifdef WITH_JSC_MEMORY_PRESSURE
void NativeToJsBridge::handleMemoryPressure(int pressureLevel) {
runOnExecutorQueue([=] (JSExecutor* executor) {