From 0632650d0e4250e08a76982ab2713a34e3531b33 Mon Sep 17 00:00:00 2001 From: Rose Hogenson Date: Sat, 30 Jul 2022 13:30:34 -0700 Subject: Add the typeof opcode. --- bytecode/src/data.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'bytecode/src/data.rs') diff --git a/bytecode/src/data.rs b/bytecode/src/data.rs index d6f9bd2..e14eaa9 100644 --- a/bytecode/src/data.rs +++ b/bytecode/src/data.rs @@ -80,6 +80,8 @@ impl Value { } return Value(0x2); } + + pub const NIL: Self = Value(0x12); } #[cfg(test)] -- cgit v1.3.1