diff options
Diffstat (limited to 'src/interp')
-rw-r--r-- | src/interp/g-opt.boot | 3 | ||||
-rw-r--r-- | src/interp/g-util.boot | 5 |
2 files changed, 7 insertions, 1 deletions
diff --git a/src/interp/g-opt.boot b/src/interp/g-opt.boot index d526f439..8c7c4a10 100644 --- a/src/interp/g-opt.boot +++ b/src/interp/g-opt.boot @@ -478,7 +478,8 @@ $VMsideEffectFreeOperators == %fpow %fdiv %fneg %i2f %fminval %fmaxval %fbase %fprec %ftrunc %nil %pair? %lconcat %llength %lfirst %lsecond %lthird %lreverse %lempty? %hash %ismall? %string? %f2s - %ceq %clt %cle %cgt %cge %c2i %i2c) + %ceq %clt %cle %cgt %cge %c2i %i2c + %vref %vlength) ++ List of simple VM operators $simpleVMoperators == diff --git a/src/interp/g-util.boot b/src/interp/g-util.boot index b718e253..97519045 100644 --- a/src/interp/g-util.boot +++ b/src/interp/g-util.boot @@ -372,6 +372,11 @@ for x in [ -- binary list operations ['%lconcat, :'APPEND], + -- simple vector operations + ['%vfill, :'FILL], + ['%vlength, :'sizeOfSimpleArray], + ['%vref, :'getSimpleArrayEntry], + -- symbol unary functions ['%gensym, :'GENSYM], |