Branch: Tag:

2015-02-08

2015-02-08 19:13:30 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Interpreter: object_index_no_free() et al now return the type.

392:    break;       case T_OBJECT: -  /* FIXME: Object subtypes! */ +  /* FIXME: Index subtypes! */    if (TYPEOF(lval[1]) == T_OBJ_INDEX) -  low_object_index_no_free (to, lval->u.object, lval[1].u.identifier); +  run_time_type = low_object_index_no_free(to, lval->u.object, +  lval[1].u.identifier);    else -  object_index_no_free(to, lval->u.object, SUBTYPEOF(*lval), lval+1); +  run_time_type = object_index_no_free(to, lval->u.object, +  SUBTYPEOF(*lval), lval+1);    break;       case T_ARRAY: