From b456c0b885c98bc146e477a8819b013b8b9f8c32 Mon Sep 17 00:00:00 2001 From: Camil Staps Date: Wed, 15 May 2019 20:24:20 +0200 Subject: [PATCH] Remove superfluous lit_word in interpreter generator --- tools/interpretergen.icl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/interpretergen.icl b/tools/interpretergen.icl index f584d71..077b5fa 100644 --- a/tools/interpretergen.icl +++ b/tools/interpretergen.icl @@ -2725,7 +2725,7 @@ all_instructions opts t = bootstrap $ collect_instructions opts $ map (\i -> i t new_local (TPtr TWord) (to_word_ptr (n @ 2 + Pc @ 1)) \a -> A @ 0 .= a @ 0 , instr "repl_r_args_a" Nothing $ - new_local (TPtr TWord) (to_word_ptr (A @ lit_word 0)) \n -> + new_local (TPtr TWord) (to_word_ptr (A @ 0)) \n -> new_local TWord (Pc @ 1) \size -> new_local TWord (Pc @ 2) \arg_no -> new_local TWord (Pc @ 3) \nr_args -> -- GitLab