Skip to content

Commit 2297429

Browse files
committed
feat: Implement the core virtual machine (VM) for bytecode execution.
1 parent bff6613 commit 2297429

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

src/runtime/vm.c

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,6 @@
1818
#include "../include/vm.h"
1919
#include "../include/error_report.h"
2020

21-
static bool bindMethod(struct ObjClass *klass, ObjString *name, VM *vm);
22-
static void defineMethod(ObjString *name, VM *vm);
23-
static void closeUpvalues(VM *vm, Value *last);
24-
static ObjUpvalue *captureUpvalue(Value *local, VM *vm);
25-
static bool invokeFromClass(struct ObjClass *klass, ObjString *name, int argCount, VM *vm);
2621

2722
VM vm;
2823

0 commit comments

Comments
 (0)