summaryrefslogtreecommitdiff
path: root/core/exec.zig
diff options
context:
space:
mode:
Diffstat (limited to 'core/exec.zig')
-rw-r--r--core/exec.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/exec.zig b/core/exec.zig
index 1ec47eb3..197827bb 100644
--- a/core/exec.zig
+++ b/core/exec.zig
@@ -535,7 +535,7 @@ const repl_quiet_ns: u64 = 100 * std.time.ns_per_ms;
/// The host's clock now; core time (`now_ns`, `stepped_ns`) is as old as
/// the last frame, seconds in an idle session.
pub fn clockNow(p: *Pardes) u64 {
- return if (p.host.vtable.now) |clock| clock(p.host.ctx) else p.clock.now_ns;
+ return p.tape.host(p, .now, .{}) orelse p.clock.now_ns;
}
/// Sends the Enters a paste into pane `id`'s REPL is owed: when the REPL