vm: fix some typos
parent
333c7654ae
commit
9a79a6253c
|
@ -183,7 +183,7 @@ struct code_block_updater {
|
||||||
array *literals = (parent->to_boolean(compiled->literals)
|
array *literals = (parent->to_boolean(compiled->literals)
|
||||||
? untag<array>(compiled->literals) : NULL);
|
? untag<array>(compiled->literals) : NULL);
|
||||||
|
|
||||||
cell old_offset = (cell)compiled - code_offset;
|
cell old_offset = (cell)rel.rel_offset() + (cell)compiled->xt() - code_offset;
|
||||||
|
|
||||||
switch(type)
|
switch(type)
|
||||||
{
|
{
|
||||||
|
@ -212,6 +212,7 @@ struct code_block_updater {
|
||||||
break;
|
break;
|
||||||
case RT_UNTAGGED:
|
case RT_UNTAGGED:
|
||||||
op.store_value(untag_fixnum(array_nth(literals,index)));
|
op.store_value(untag_fixnum(array_nth(literals,index)));
|
||||||
|
break;
|
||||||
case RT_MEGAMORPHIC_CACHE_HITS:
|
case RT_MEGAMORPHIC_CACHE_HITS:
|
||||||
op.store_value((cell)&parent->dispatch_stats.megamorphic_cache_hits);
|
op.store_value((cell)&parent->dispatch_stats.megamorphic_cache_hits);
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue