aboutsummaryrefslogtreecommitdiff
path: root/src/interp
diff options
context:
space:
mode:
Diffstat (limited to 'src/interp')
-rw-r--r--src/interp/g-opt.boot2
-rw-r--r--src/interp/g-util.boot3
2 files changed, 4 insertions, 1 deletions
diff --git a/src/interp/g-opt.boot b/src/interp/g-opt.boot
index dbf05c9d..d526f439 100644
--- a/src/interp/g-opt.boot
+++ b/src/interp/g-opt.boot
@@ -477,7 +477,7 @@ $VMsideEffectFreeOperators ==
%feq %flt %fle %fgt %fge %fmul %fadd %fsub %fexp %fmin %fmax %float?
%fpow %fdiv %fneg %i2f %fminval %fmaxval %fbase %fprec %ftrunc
%nil %pair? %lconcat %llength %lfirst %lsecond %lthird
- %lreverse %lempty? %hash %ismall? %string?
+ %lreverse %lempty? %hash %ismall? %string? %f2s
%ceq %clt %cle %cgt %cge %c2i %i2c)
++ List of simple VM operators
diff --git a/src/interp/g-util.boot b/src/interp/g-util.boot
index 95618b16..b718e253 100644
--- a/src/interp/g-util.boot
+++ b/src/interp/g-util.boot
@@ -352,6 +352,9 @@ for x in [
['%fpow, :'EXPT],
['%fsub, :"-"],
+ -- string operations
+ ['%f2s, :'DFLOAT_-FORMAT_-GENERAL],
+
-- list contants
-- ['%nil, :'NIL],
-- unary list operations