Comment tweaks

This commit is contained in:
2026-04-12 15:02:07 +10:00
parent c0c03a4110
commit e24823924a
3 changed files with 12 additions and 3 deletions

View File

@@ -356,8 +356,6 @@ static void processAccess(Toy_VM* vm) {
return;
}
//URGENT: should I loop functions into the reference system?
//in the event of a certain subset of types, create references instead (these should only exist on the stack)
if (TOY_VALUE_IS_REFERENCE(*valuePtr) || TOY_VALUE_IS_ARRAY(*valuePtr) || TOY_VALUE_IS_TABLE(*valuePtr) || TOY_VALUE_IS_FUNCTION(*valuePtr)) {
Toy_Value ref = TOY_REFERENCE_FROM_POINTER(valuePtr);