Fix optimization of dynamic variable reading.
[INTERPRETER] * BUG: Fix optimization of dynamic variable reading.
This commit is contained in:
parent
4b778bd2ce
commit
5d1db11ab3
1 changed files with 2 additions and 0 deletions
|
@ -2588,6 +2588,8 @@ _PUSH_VARIABLE:
|
|||
|
||||
{
|
||||
void *object = SP[-1]._object.object;
|
||||
if (!object)
|
||||
THROW_NULL();
|
||||
CLASS_DESC *desc = SP[-1]._object.class->table[PC[1]].desc;
|
||||
my_VALUE_class_read(desc->variable.class, &SP[-1], (char *)object + desc->variable.offset, desc->variable.ctype, object);
|
||||
//BORROW(&SP[-1]);
|
||||
|
|
Loading…
Reference in a new issue