1
0
Fork 0
forked from fun/fun

Added typeof opcode to verify variable types.

This commit is contained in:
Johannes Findeisen 2025-09-16 03:45:25 +02:00
commit 7e9f24114e
6 changed files with 78 additions and 1 deletions

View file

@ -273,6 +273,7 @@ void vm_run(VM *vm, Bytecode *entry) {
#include "vm/print.c"
#include "vm/to_number.c"
#include "vm/to_string.c"
#include "vm/typeof.c"
default:
if (!opcode_is_valid(inst.op)) {