From bc6973a2f294ba12df4eed37354a95672b6b03ce Mon Sep 17 00:00:00 2001 From: Slava Pestov Date: Fri, 5 Oct 2007 17:54:25 -0400 Subject: [PATCH] Compile malloc, free, memcpy in bootstrap so that we can test the compiler right after USE: bootstrap.compiler --- core/bootstrap/compiler/compiler.factor | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/core/bootstrap/compiler/compiler.factor b/core/bootstrap/compiler/compiler.factor index c550923907..39e85dcb21 100644 --- a/core/bootstrap/compiler/compiler.factor +++ b/core/bootstrap/compiler/compiler.factor @@ -3,7 +3,7 @@ parser kernel kernel.private classes classes.private arrays hashtables vectors tuples sbufs inference.dataflow hashtables.private sequences.private math tuples.private growable namespaces.private alien.remote-control assocs -words generator command-line vocabs io prettyprint ; +words generator command-line vocabs io prettyprint libc ; "bootstrap.math" vocab [ "cpu." cpu append require @@ -44,6 +44,8 @@ words generator command-line vocabs io prettyprint ; new nth push pop peek hashcode* = get set . lines + + malloc free memcpy } [ compile ] each [ recompile ] parse-hook set-global