diff options
author | adeshkp <adeshkp@users.noreply.github.com> | 2019-01-30 13:56:07 -0500 |
---|---|---|
committer | adeshkp <adeshkp@users.noreply.github.com> | 2019-01-30 13:56:07 -0500 |
commit | 493c956d8de0fdb763851d9c12cfd248776b80b8 (patch) | |
tree | e583756e275c3fc2f35948f7eee193aa314e1b35 /js/src/vm/Runtime.cpp | |
parent | 7f992d50e417b0c2f18259ce2353e3ead4870694 (diff) | |
download | uxp-493c956d8de0fdb763851d9c12cfd248776b80b8.tar.gz |
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 174e235942..8eb997c71b 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. |