]> gitweb.factorcode.org Git - factor.git/blobdiff - core/bootstrap/primitives.factor
VM: let's merge (save-image) and (save-image-and-exit) into one 3
[factor.git] / core / bootstrap / primitives.factor
index 27bd5cf6b39ffc4c6729d355b03722d247f459d1..1d83b10f0dc1f1b04399f5f7fb84bec3da458038 100755 (executable)
@@ -530,8 +530,7 @@ tuple
     { "gc" "memory" "primitive_full_gc" ( -- ) }
     { "minor-gc" "memory" "primitive_minor_gc" ( -- ) }
     { "size" "memory" "primitive_size" ( obj -- n ) }
-    { "(save-image)" "memory.private" "primitive_save_image" ( path1 path2 -- ) }
-    { "(save-image-and-exit)" "memory.private" "primitive_save_image_and_exit" ( path1 path2 -- ) }
+    { "(save-image)" "memory.private" "primitive_save_image" ( path1 path2 then-die? -- ) }
     { "jit-compile" "quotations" "primitive_jit_compile" ( quot -- ) }
     { "quot-compiled?" "quotations" "primitive_quot_compiled_p" ( quot -- ? ) }
     { "quotation-code" "quotations" "primitive_quotation_code" ( quot -- start end ) }