From ded9a1eca92d150f8365ed48a2e7983a04ec8ba8 Mon Sep 17 00:00:00 2001 From: Slava Pestov Date: Thu, 7 Jan 2010 13:49:29 +1300 Subject: [PATCH] vm: remove unnecessary call to compile_all_words() from primitive_become() --- vm/objects.cpp | 7 ------- 1 file changed, 7 deletions(-) diff --git a/vm/objects.cpp b/vm/objects.cpp index 494aca3c5b..21948e5e7a 100644 --- a/vm/objects.cpp +++ b/vm/objects.cpp @@ -145,13 +145,6 @@ void factor_vm::primitive_become() all objects on a minor GC. */ data->mark_all_cards(); primitive_minor_gc(); - - /* If a word's definition quotation was in old_objects and the - quotation in new_objects is not compiled, we might leak memory - by referencing the old quotation unless we recompile all - unoptimized words. */ - compile_all_words(); - update_code_heap_words(); } }