summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-rw-r--r--core/01_core.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/core/01_core.js b/core/01_core.js
index 3a05a0cff..50d4537f0 100644
--- a/core/01_core.js
+++ b/core/01_core.js
@@ -57,6 +57,10 @@
opCallTracingEnabled = true;
}
+ function isOpCallTracingEnabled() {
+ return opCallTracingEnabled;
+ }
+
function setPromise(promiseId) {
const idx = promiseId % RING_SIZE;
// Move old promise from ring to map
@@ -246,6 +250,7 @@
Interrupted,
InterruptedPrototype,
enableOpCallTracing,
+ isOpCallTracingEnabled,
opCallTraces,
});