diff options
author | Moonchild <mcwerewolf@wolfbeast.com> | 2019-01-31 14:49:35 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-01-31 14:49:35 +0100 |
commit | fecab2c542df1e1aed5c9cb9ef45d113533c1dee (patch) | |
tree | db024cf75b8c7196c918bba2c100021556604c5f /js/src/vm/Runtime.cpp | |
parent | aa28523a553f5e2553c781081eb21715aedb7eaf (diff) | |
parent | 493c956d8de0fdb763851d9c12cfd248776b80b8 (diff) | |
download | UXP-fecab2c542df1e1aed5c9cb9ef45d113533c1dee.tar UXP-fecab2c542df1e1aed5c9cb9ef45d113533c1dee.tar.gz UXP-fecab2c542df1e1aed5c9cb9ef45d113533c1dee.tar.lz UXP-fecab2c542df1e1aed5c9cb9ef45d113533c1dee.tar.xz UXP-fecab2c542df1e1aed5c9cb9ef45d113533c1dee.zip |
Merge pull request #952 from adeshkp/remove-telemetry-js
Remove telemetry leftovers from JS engine.
Diffstat (limited to 'js/src/vm/Runtime.cpp')
-rw-r--r-- | js/src/vm/Runtime.cpp | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/js/src/vm/Runtime.cpp b/js/src/vm/Runtime.cpp index 174e23594..8eb997c71 100644 --- a/js/src/vm/Runtime.cpp +++ b/js/src/vm/Runtime.cpp @@ -147,7 +147,6 @@ JSRuntime::JSRuntime(JSRuntime* parentRuntime) updateChildRuntimeCount(parentRuntime), #endif interrupt_(false), - telemetryCallback(nullptr), handlingSegFault(false), handlingJitInterrupt_(false), interruptCallbackDisabled(false), @@ -452,19 +451,6 @@ JSRuntime::destroyRuntime() } void -JSRuntime::addTelemetry(int id, uint32_t sample, const char* key) -{ - if (telemetryCallback) - (*telemetryCallback)(id, sample, key); -} - -void -JSRuntime::setTelemetryCallback(JSRuntime* rt, JSAccumulateTelemetryDataCallback callback) -{ - rt->telemetryCallback = callback; -} - -void JSRuntime::addSizeOfIncludingThis(mozilla::MallocSizeOf mallocSizeOf, JS::RuntimeSizes* rtSizes) { // Several tables in the runtime enumerated below can be used off thread. |