diff options
author | johnvg | 2000-10-02 15:05:02 +0000 |
---|---|---|
committer | johnvg | 2000-10-02 15:05:02 +0000 |
commit | c32b3652a25f733b8fbd3b3b56ea868dc11274f6 (patch) | |
tree | ce8cc5a659e955f44054882c0ffa72e64ceb01b0 /backendC/CleanCompilerSources/instructions.c | |
parent | removed ---> operator (diff) |
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
Diffstat (limited to 'backendC/CleanCompilerSources/instructions.c')
-rw-r--r-- | backendC/CleanCompilerSources/instructions.c | 5 |
1 files changed, 1 insertions, 4 deletions
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 |