Inline the bytecode array in ObjFn.

This commit is contained in:
Bob Nystrom
2013-12-25 16:19:35 -08:00
parent 8c4a58a0a3
commit e62bccd7f2
3 changed files with 3 additions and 4 deletions
-1
View File
@@ -332,7 +332,6 @@ static void freeObj(WrenVM* vm, Obj* obj)
switch (obj->type)
{
case OBJ_FN:
deallocate(vm, ((ObjFn*)obj)->bytecode);
deallocate(vm, ((ObjFn*)obj)->constants);
break;