[Mono-devel-list] interpreter question

Paolo Molaro lupus at ximian.com
Mon Aug 18 09:10:54 EDT 2003


On 08/17/03 Varga Zoltan wrote:
>   I would like to clean up the handling of the various
> pointer types in
> the interpreter, and I would like to know what is the
> function of the
> VAL_VALUETA type? It is pushed on the stack by a lot of
> opcodes, while
> only the INITOBJ instruction uses it. According to the
> specs, these 
> opcodes should push a managed pointer on the stack. Also,

It can probably be safely removed.

> the usage
> of this type of stack value is a little strange: sometimes, the
> sp->data.vt.vt field is set to point to the value, sometimes
> the sp->data.p
> field.

The union is laid out so that they match, so there's really not much
difference.

lupus

-- 
-----------------------------------------------------------------
lupus at debian.org                                     debian/rules
lupus at ximian.com                             Monkeys do it better



More information about the Mono-devel-list mailing list