From c32b3652a25f733b8fbd3b3b56ea868dc11274f6 Mon Sep 17 00:00:00 2001 From: johnvg Date: Mon, 2 Oct 2000 15:05:02 +0000 Subject: bug fix: generate 'in' abc instruction even when there are no parameters git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@242 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d --- backendC/CleanCompilerSources/instructions.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'backendC/CleanCompilerSources') diff --git a/backendC/CleanCompilerSources/instructions.c b/backendC/CleanCompilerSources/instructions.c index 6616c8d..6f6577c 100644 --- a/backendC/CleanCompilerSources/instructions.c +++ b/backendC/CleanCompilerSources/instructions.c @@ -3268,10 +3268,7 @@ void GenSystemImports (void) void GenParameters (Bool input, Parameters params, int asp, int bsp) { int is_first_parameter; - - if (params==NULL) - return; - + if (input) put_instruction_ (Iin); else -- cgit v1.2.3