aboutsummaryrefslogtreecommitdiff
path: root/misc/wasm/wasm_exec.js
diff options
context:
space:
mode:
Diffstat (limited to 'misc/wasm/wasm_exec.js')
-rw-r--r--misc/wasm/wasm_exec.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/misc/wasm/wasm_exec.js b/misc/wasm/wasm_exec.js
index 82041e6bb9..3e41e628ef 100644
--- a/misc/wasm/wasm_exec.js
+++ b/misc/wasm/wasm_exec.js
@@ -296,8 +296,8 @@
setInt64(sp + 8, (timeOrigin + performance.now()) * 1000000);
},
- // func walltime1() (sec int64, nsec int32)
- "runtime.walltime1": (sp) => {
+ // func walltime() (sec int64, nsec int32)
+ "runtime.walltime": (sp) => {
sp >>>= 0;
const msec = (new Date).getTime();
setInt64(sp + 8, msec / 1000);