summaryrefslogtreecommitdiffstats
path: root/js/src/wasm
diff options
context:
space:
mode:
authoradeshkp <adeshkp@users.noreply.github.com>2019-01-30 13:56:07 -0500
committeradeshkp <adeshkp@users.noreply.github.com>2019-01-30 13:56:07 -0500
commit493c956d8de0fdb763851d9c12cfd248776b80b8 (patch)
treee583756e275c3fc2f35948f7eee193aa314e1b35 /js/src/wasm
parent7f992d50e417b0c2f18259ce2353e3ead4870694 (diff)
downloadUXP-493c956d8de0fdb763851d9c12cfd248776b80b8.tar
UXP-493c956d8de0fdb763851d9c12cfd248776b80b8.tar.gz
UXP-493c956d8de0fdb763851d9c12cfd248776b80b8.tar.lz
UXP-493c956d8de0fdb763851d9c12cfd248776b80b8.tar.xz
UXP-493c956d8de0fdb763851d9c12cfd248776b80b8.zip
Remove telemetry leftovers from JS engine.
Diffstat (limited to 'js/src/wasm')
-rw-r--r--js/src/wasm/WasmBinaryConstants.h9
-rw-r--r--js/src/wasm/WasmModule.cpp3
2 files changed, 0 insertions, 12 deletions
diff --git a/js/src/wasm/WasmBinaryConstants.h b/js/src/wasm/WasmBinaryConstants.h
index fd3bd1264..9aa5091f6 100644
--- a/js/src/wasm/WasmBinaryConstants.h
+++ b/js/src/wasm/WasmBinaryConstants.h
@@ -434,15 +434,6 @@ enum class Op
Limit
};
-// Telemetry sample values for the JS_AOT_USAGE key, indicating whether asm.js
-// or WebAssembly is used.
-
-enum class Telemetry
-{
- ASMJS = 0,
- WASM = 1
-};
-
} // namespace wasm
} // namespace js
diff --git a/js/src/wasm/WasmModule.cpp b/js/src/wasm/WasmModule.cpp
index b24e01a40..f1ecd8620 100644
--- a/js/src/wasm/WasmModule.cpp
+++ b/js/src/wasm/WasmModule.cpp
@@ -1066,8 +1066,5 @@ Module::instantiate(JSContext* cx,
return false;
}
- uint32_t mode = uint32_t(metadata().isAsmJS() ? Telemetry::ASMJS : Telemetry::WASM);
- cx->runtime()->addTelemetry(JS_TELEMETRY_AOT_USAGE, mode);
-
return true;
}